To specify a resource for an AWS IoT Core policy action, use the Amazon Resource Name (ARN) of the resource. All resource ARNs follow the following format:
arn:partition
:iot:region
:AWS-account-ID
:Resource-type
/Resource-name
The following table shows the resource to specify for each action type. The ARN examples are for the account ID 123456789012
, in the partition aws
, and specific to the region us-east-1
. For more information about the formats for ARNs, see Amazon Resource Names (ARNs) from the AWS Identity and Access Management User Guide.
iot:Connect
client
The client's client ID
arn:aws:iot:us-east-1:123456789012:client/myClientId
iot:DeleteThingShadow
thing
The thing's name, and the shadow's name, if applicable
arn:aws:iot:us-east-1:123456789012:thing/thingOne
arn:aws:iot:us-east-1:123456789012:thing/thingOne/shadowOne
iotjobsdata:DescribeJobExecution
thing
The thing's name
arn:aws:iot:us-east-1:123456789012:thing/thingOne
iotjobsdata:GetPendingJobExecutions
thing
The thing's name
arn:aws:iot:us-east-1:123456789012:thing/thingOne
iot:GetRetainedMessage
topic
A retained message topic
arn:aws:iot:us-east-1:123456789012:topic/myTopicName
iot:GetThingShadow
thing
The thing's name, and the shadow's name, if applicable
arn:aws:iot:us-east-1:123456789012:thing/thingOne
arn:aws:iot:us-east-1:123456789012:thing/thingOne/shadowOne
iot:ListNamedShadowsForThing
All All *
iot:ListRetainedMessages
All All *
iot:Publish
topic
A topic string
arn:aws:iot:us-east-1:123456789012:topic/myTopicName
iot:Receive
topic
A topic string
arn:aws:iot:us-east-1:123456789012:topic/myTopicName
iot:RetainPublish
topic
A topic to publish with the RETAIN flag set
arn:aws:iot:us-east-1:123456789012:topic/myTopicName
iotjobsdata:StartNextPendingJobExecution
thing
The thing's name
arn:aws:iot:us-east-1:123456789012:thing/thingOne
iot:Subscribe
topicfilter
A topic filter string arn:aws:iot:us-east-1:123456789012:topicfilter/myTopicFilter
iotjobsdata:UpdateJobExecution
thing
The thing's name
arn:aws:iot:us-east-1:123456789012:thing/thingOne
iot:UpdateThingShadow
thing
The thing's name, and the shadow's name, if applicable
arn:aws:iot:us-east-1:123456789012:thing/thingOne
arn:aws:iot:us-east-1:123456789012:thing/thingOne/shadowOne
iot:AssumeRoleWithCertificate
rolealias
A role alias that points to a role ARN
arn:aws:iot:us-east-1:123456789012:rolealias/CredentialProviderRole_alias
AWS IoT Core policy actions
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