greengrass:DeleteDeployment

Write

greengrass:DeleteDeployment is a Write access-level action in the greengrass service. Grants permission to delete a deployment. To delete an active deployment, it needs to be cancelled first

Resource types

ARNs that greengrass:DeleteDeployment 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:DeleteDeployment.

aws:ResourceTag/${TagKey} String

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

Dependent actions

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

Example IAM policy

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

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

Related actions in greengrass

View all greengrass actions →