AWS IoT Core defines policy variables that can be used in AWS IoT Core policies in the Resource
or Condition
block. When a policy is evaluated, the policy variables are replaced by actual values. For example, if a device is connected to the AWS IoT Core message broker with a client ID of 100-234-3456, the iot:ClientId
policy variable is replaced in the policy document by 100-234-3456.
AWS IoT Core policies can use wildcard characters and follow a similar convention to IAM policies. Inserting an *
(asterik) in the string can be treated as a wildcard, matching any characters. For example, you can use *
to describe multiple MQTT topic names in the Resource
attribute of a policy. The characters +
and #
are treated as literal strings in a policy. For an example policy that shows how to use wildcards, see Using wildcard characters in MQTT and AWS IoT Core policies.
You can also use predefined policy variables with fixed values to represent characters that otherwise have special meaning. These special characters include $(*)
, $(?)
, and $($)
. For more information about policy variables and the special characters, see IAM Policy elements: Variables and tags and Creating a condition with multiple keys or values.
AWS IoT Core action resources
Basic AWS IoT Core policy variables
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4