本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
AWS IoT Core 操作资源
要为 AWS IoT Core 策略操作指定一项资源,则必须使用该资源的 ARN。All resource ARNs are of the following form:
arn:aws:iot:
region
:AWS-account-ID
:Resource-type
/Resource-name
下表列出了要为每种类型的操作指定的操作:
操作 | 资源类型 | 资源名称 | ARN example |
---|---|---|---|
iot:DeleteThingShadow |
thing |
The thing's name |
|
iot:Connect |
client |
The client's client ID |
arn:aws:iot:us-east-1:123456789012:client/myClientId |
iot:Publish |
|
A topic string |
arn:aws:iot:us-east-1:123456789012:topic/myTopicName |
iot:Subscribe |
|
A topic filter string | arn:aws:iot:us-east-1:123456789012:topicfilter/myTopicFilter |
iot:Receive |
|
A topic string |
arn:aws:iot:us-east-1:123456789012:topic/myTopicName |
iot:UpdateThingShadow |
thing |
The thing's name, and the shadow's name, if applicable |
|
iot:GetThingShadow |
thing |
The thing's name, and the shadow's name, if applicable |
|
iot:DescribeJobExecution |
thing |
The thing's name |
|
iot:GetPendingJobExecutions |
thing |
The thing's name |
|
iot:UpdateJobExecution |
thing |
The thing's name |
|
iot:StartNextPendingJobExecution |
thing |
The thing's name |
|