cloudformation:UpdateStackSet

Write

cloudformation:UpdateStackSet is a Write access-level action in the cloudformation service. Grants permission to update a stackset as specified in the template

Resource types

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

arn:${Partition}:cloudformation:${Region}:${Account}:stackset/${StackSetName}:${Id} required
stackset
arn:${Partition}:cloudformation:${Region}:${Account}:stackset-target/${StackSetTarget}
stackset-target
arn:${Partition}:cloudformation:${Region}:${Account}:type/resource/${Type}
type

Condition keys

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

aws:RequestTag/${TagKey} String

Filters access by the tags that are passed in the request

aws:TagKeys ArrayOfString

Filters access by the tag keys that are passed in the request

cloudformation:RoleArn ARN

Filters access by the ARN of an IAM service role. Use to control which service role IAM users can use to work with stacks or change sets

cloudformation:TargetRegion ArrayOfString

Filters access by stack set target region. Use to control which regions IAM users can use when they create or update stack sets

cloudformation:TemplateUrl String

Filters access by an Amazon S3 template URL. Use to control which templates IAM users can use when they create or update stacks

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in cloudformation

View all cloudformation actions →