greengrass:CancelDeployment

Write

greengrass:CancelDeployment is a Write access-level action in the greengrass service. Grants permission to cancel a deployment

Resource types

ARNs that greengrass:CancelDeployment can be scoped to in an IAM policy.

arn:${Partition}:greengrass:${Region}:${Account}:deployments:${DeploymentId}
deployment

Condition keys

Keys you can use in the Condition block of a policy that grants greengrass:CancelDeployment.

aws:ResourceTag/${TagKey} String

Filters access by checking tag key/value pairs associated with a specific resource

Dependent actions

To use greengrass:CancelDeployment you may also need to grant:

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowGreengrassCancelDeployment",
      "Effect": "Allow",
      "Action": "greengrass:CancelDeployment",
      "Resource": "*"
    }
  ]
}

Related actions in greengrass

View all greengrass actions →