iot:StartCommandExecution

Write

iot:StartCommandExecution is a Write access-level action in the iot service. Grants permission to start a new command execution

Resource types

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

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

Condition keys

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

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:StartCommandExecution. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in iot

View all iot actions →