imagebuilder:CancelImageCreation

Write

imagebuilder:CancelImageCreation is a Write access-level action in the imagebuilder service. Grants permission to cancel an image creation

Resource types

ARNs that imagebuilder:CancelImageCreation can be scoped to in an IAM policy.

arn:${Partition}:imagebuilder:${Region}:${Account}:image/${ImageName}/${ImageVersion}/${ImageBuildVersion}
image

Condition keys

Keys you can use in the Condition block of a policy that grants imagebuilder:CancelImageCreation.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowImagebuilderCancelImageCreation",
      "Effect": "Allow",
      "Action": "imagebuilder:CancelImageCreation",
      "Resource": "*"
    }
  ]
}

Related actions in imagebuilder

View all imagebuilder actions →