iot:CreateCommand is a Write access-level action in the iot service. Grants permission to create a command that can be used to start new executions against a device
ARNs that iot:CreateCommand can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants iot:CreateCommand.
Filters access by a tag key component of a tag associated to the IoT resource in the request
A minimal policy that allows iot:CreateCommand. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowIotCreateCommand",
"Effect": "Allow",
"Action": "iot:CreateCommand",
"Resource": "*"
}
]
}