iot:ListCommandExecutions

List

iot:ListCommandExecutions is a List access-level action in the iot service. Grants permission to list commands executions in the account

Resource types

ARNs that iot:ListCommandExecutions can be scoped to in an IAM policy.

arn:${Partition}:iot:${Region}:${Account}:client/${ClientId}
client
arn:${Partition}:iot:${Region}:${Account}:command/${CommandId}
command
arn:${Partition}:iot:${Region}:${Account}:thing/${ThingName}
thing

Condition keys

Keys you can use in the Condition block of a policy that grants iot:ListCommandExecutions.

aws:ResourceTag/${TagKey} String

Filters access by a tag key component of a tag associated to the IoT resource in the request

Example IAM policy

A minimal policy that allows iot:ListCommandExecutions. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowIotListCommandExecutions",
      "Effect": "Allow",
      "Action": "iot:ListCommandExecutions",
      "Resource": "*"
    }
  ]
}

Related actions in iot

View all iot actions →