AWS IoT Core アクションリソース - AWS IoT Core

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

AWS IoT Core アクションリソース

のリソースを指定するには AWS IoT Core ポリシーアクションでは、リソースの Amazon リソースネーム (ARN) を使用します。すべてのリソースは次の形式ARNsに従います。

arn:partition:iot:region:AWS-account-ID:Resource-type/Resource-name

次の表は、各アクションタイプに指定するリソースを示しています。ARN 例は123456789012、パーティション 内のアカウント ID の でaws、リージョン に固有ですus-east-1。の形式の詳細についてはARNs、「」の「Amazon リソースネーム (ARNs)」を参照してください。 AWS Identity and Access Management ユーザーガイド。

アクション リソースタイプ リソース名 ARN 例
iot:Connect client

クライアントのクライアント ID

arn:aws:iot:us-east-1:123456789012:client/myClientId
iot:DeleteThingShadow thing

モノの名前、および該当する場合はシャドウの名前

arn:aws:iot:us-east-1:123456789012:thing/thingOne arn:aws:iot:us-east-1:123456789012:thing/thingOne/shadowOne
iotjobsdata:DescribeJobExecution thing

モノの名前

arn:aws:iot:us-east-1:123456789012:thing/thingOne
iotjobsdata:GetPendingJobExecutions thing

モノの名前

arn:aws:iot:us-east-1:123456789012:thing/thingOne
iot:GetRetainedMessage topic

保持されたメッセージトピック

arn:aws:iot:us-east-1:123456789012:topic/myTopicName
iot:GetThingShadow thing

モノの名前、および該当する場合はシャドウの名前

arn:aws:iot:us-east-1:123456789012:thing/thingOne arn:aws:iot:us-east-1:123456789012:thing/thingOne/shadowOne
iot:ListNamedShadowsForThing すべて すべて *
iot:ListRetainedMessages すべて すべて *
iot:Publish topic

トピック文字列

arn:aws:iot:us-east-1:123456789012:topic/myTopicName
iot:Receive topic

トピック文字列

arn:aws:iot:us-east-1:123456789012:topic/myTopicName
iot:RetainPublish topic

RETAIN フラグセットで発行するトピック

arn:aws:iot:us-east-1:123456789012:topic/myTopicName
iotjobsdata:StartNextPendingJobExecution thing

モノの名前

arn:aws:iot:us-east-1:123456789012:thing/thingOne
iot:Subscribe topicfilter トピックフィルター文字列 arn:aws:iot:us-east-1:123456789012:topicfilter/myTopicFilter
iotjobsdata:UpdateJobExecution thing

モノの名前

arn:aws:iot:us-east-1:123456789012:thing/thingOne
iot:UpdateThingShadow thing

モノの名前、および該当する場合はシャドウの名前

arn:aws:iot:us-east-1:123456789012:thing/thingOne arn:aws:iot:us-east-1:123456789012:thing/thingOne/shadowOne
iot:AssumeRoleWithCertificate rolealias

ロールを指すロールエイリアス ARN

arn:aws:iot:us-east-1:123456789012:rolealias/CredentialProviderRole_alias