cloudformation:DeleteChangeSet

Write

cloudformation:DeleteChangeSet is a Write access-level action in the cloudformation service. Grants permission to delete the specified change set. Deleting change sets ensures that no one executes the wrong change set

Resource types

ARNs that cloudformation:DeleteChangeSet can be scoped to in an IAM policy.

arn:${Partition}:cloudformation:${Region}:${Account}:stack/${StackName}/${Id} required
stack

Condition keys

Keys you can use in the Condition block of a policy that grants cloudformation:DeleteChangeSet.

cloudformation:ChangeSetName String

Filters access by an AWS CloudFormation change set name. Use to control which change sets IAM users can execute or delete

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCloudformationDeleteChangeSet",
      "Effect": "Allow",
      "Action": "cloudformation:DeleteChangeSet",
      "Resource": "*"
    }
  ]
}

Related actions in cloudformation

View all cloudformation actions →