Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (30 sloc) 4.42 KB

Actions, Resources, and Condition Keys for AWS IoT 1-Click

AWS IoT 1-Click (service prefix: iot1click) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:

Topics

Actions Defined by AWS IoT 1-Click

You can specify the following actions in the Action element of an IAM policy statement. By using policies, you define the permissions for anyone performing an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions. For details about the columns in the following table, see The Actions Table.


[See the AWS documentation website for more details]

Resources Defined by AWS IoT 1-Click

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements. Each action in the Actions table identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the table. For details about the columns in the following table, see The Resource Types Table.


Resource Types ARN Condition Keys
device arn:${Partition}:iot1click:${Region}:${Account}:devices/${DeviceId} aws:ResourceTag/${TagKey}
project arn:${Partition}:iot1click:${Region}:${Account}:projects/${ProjectName} aws:ResourceTag/${TagKey}

Condition Keys for AWS IoT 1-Click

AWS IoT 1-Click defines the following condition keys that can be used in the Condition element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see The Condition Keys Table.

To view the global condition keys that are available to all services, see Available Global Condition Keys in the IAM Policy Reference.


Condition Keys Description Type
aws:RequestTag/${TagKey} A tag key that is present in the request that the user makes to IoT 1-Click. String
aws:ResourceTag/${TagKey} The preface string for a tag key and value pair attached to an IoT 1-Click resource. String
aws:TagKeys The list of all the tag key names associated with the IoT 1-Click resource in the request. String
You can’t perform that action at this time.