Menu
AWS Identity and Access Management
User Guide

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:

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.

Actions Description Access Level Resource Types (*required) Condition Keys Dependent Actions
AssociateDeviceWithPlacement Associate a device to a placement

Write

project*

ClaimDeviceByClaimCode Claim a batch of devices with a claim code.

Read

CreatePlacement Create a new placement in a project

Write

project*

CreateProject Create a new project

Write

project*

DeletePlacement Delete a placement from a project

Write

project*

DeleteProject Delete a project

Write

project*

DescribeDevice Describe a device

Read

device*

DescribePlacement Describe a placement

Read

project*

DescribeProject Describe a project

Read

project*

DisassociateDeviceFromPlacement Disassociate a device from a placement

Write

project*

FinalizeDeviceClaim Finalize a device claim

Read

device*

GetDeviceMethods Get available methods of a device

Read

device*

GetDevicesInPlacement Get devices associated to a placement

Read

project*

InitializeDeviceClaim Initialize a device claim

Read

device*

InvokeDeviceMethod Invoke a device method

Write

device*

ListDeviceEvents List past events published by a device

Read

device*

ListDevices List all devices

List

ListPlacements List placements in a project

Read

project*

ListProjects List all projects

List

UnclaimDevice Unclaim a device

Read

device*

UpdateDeviceState Update device state

Write

device*

UpdatePlacement Update a placement

Write

project*

UpdateProject Update a project

Write

project*

Resources Defined by 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}
project arn:${Partition}:iot1click:${Region}:${Account}:projects/${ProjectName}

Condition Keys for AWS IoT 1-Click

IoT 1-Click has no service-specific context keys that can be used in the Condition element of policy statements. For the list of the global context keys that are available to all services, see Available Keys for Conditions in the IAM Policy Reference.