iot:GetCommandExecution

Read

iot:GetCommandExecution is a Read access-level action in the iot service. Grants permission to get the information of a command execution

Resource types

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

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

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

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

Related actions in iot

View all iot actions →