iot:CancelJobExecution

Write

iot:CancelJobExecution is a Write access-level action in the iot service. Grants permission to cancel a job execution on a particular device

Resource types

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

arn:${Partition}:iot:${Region}:${Account}:job/${JobId}
job
arn:${Partition}:iot:${Region}:${Account}:thing/${ThingName}
thing

Condition keys

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

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

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

Related actions in iot

View all iot actions →