AWS::CloudFormation::ChangeSet

CloudFormation ChangeSet

Resource type definition for AWS::CloudFormation::ChangeSet

Properties

15 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
ChangeSetName
string
RequiredCreate-only
StackName
string
RequiredCreate-only
Capabilities
Array<string>
Create-only
ChangeSetType
string
Create-onlyWrite-only
DeploymentMode
string
Create-only
Description
string
Create-only
ImportExistingResources
boolean
Create-only
IncludeNestedStacks
boolean
Create-only
NotificationARNs
Array<string>
Create-only
OnStackFailure
string
Create-only
RoleARN
string
Create-onlyWrite-only
Tags
Array<object>
Create-only
TemplateBody
string
Create-onlyWrite-only
TemplateURL
string
Create-onlyWrite-only
UsePreviousTemplate
boolean
Create-onlyWrite-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ChangeSetIdstringThe ARN of the change set.
CreationTimestringThe time the change set was created.
StackIdstringThe unique ID of the stack.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudFormation::ChangeSet

Resources:
  MyResource:
    Type: AWS::CloudFormation::ChangeSet
    Properties:
      ChangeSetName: "my-changesetname"
      StackName: "my-stackname"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

cloudformation:CreateChangeSetcloudformation:DescribeChangeSetiam:PassRoles3:GetObject

read

cloudformation:DescribeChangeSet

delete

cloudformation:DeleteChangeSetcloudformation:DescribeChangeSet

list

cloudformation:ListChangeSets

Get the CloudFormation Cheat Sheet

Everything you need to know about CloudFormation on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceCloudFormation
Properties18
Required2
TaggingSupported
Primary IDChangeSetId

Supported Operations

CreateReadDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ChangeSetNameStackNameTemplateBodyTemplateURLUsePreviousTemplateDescriptionChangeSetTypeCapabilitiesRoleARNNotificationARNsIncludeNestedStacksOnStackFailureImportExistingResourcesDeploymentModeTags

External Links