interface CfnChangeSetProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnChangeSetProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2#CfnChangeSetProps |
Java | software.amazon.awscdk.CfnChangeSetProps |
Python | aws_cdk.CfnChangeSetProps |
TypeScript | aws-cdk-lib » CfnChangeSetProps |
Properties for defining a CfnChangeSet.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnChangeSetProps: cdk.CfnChangeSetProps = {
changeSetName: 'changeSetName',
stackName: 'stackName',
// the properties below are optional
capabilities: ['capabilities'],
changeSetType: 'changeSetType',
deploymentMode: 'deploymentMode',
description: 'description',
importExistingResources: false,
includeNestedStacks: false,
notificationArns: ['notificationArns'],
onStackFailure: 'onStackFailure',
roleArn: 'roleArn',
tags: [{
key: 'key',
value: 'value',
}],
templateBody: 'templateBody',
templateUrl: 'templateUrl',
usePreviousTemplate: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| change | string | The name of the change set. |
| stack | string | The name or unique ID of the stack for which you are creating a change set. |
| capabilities? | string[] | The capabilities that are allowed in the stack. |
| change | string | The type of change set operation. |
| deployment | string | Determines how CloudFormation handles configuration drift during deployment. |
| description? | string | A description to help you identify this change set. |
| import | boolean | IResolvable | Indicates if the change set imports resources that already exist. |
| include | boolean | IResolvable | Creates a change set for all nested stacks specified in the template. |
| notification | string[] | The ARNs of Amazon SNS topics that CloudFormation associates with the stack. |
| on | string | Determines what action will be taken if stack creation fails. |
| role | string | The ARN of an IAM role that CloudFormation assumes when executing the change set. |
| tags? | Tags[] | Key-value pairs to associate with the change set. |
| template | string | A structure that contains the body of the revised template. |
| template | string | The URL of the file that contains the revised template. |
| use | boolean | IResolvable | Whether to reuse the template associated with the stack to create the change set. |
changeSetName
Type:
string
The name of the change set.
Must be unique among all change sets associated with the specified stack.
stackName
Type:
string
The name or unique ID of the stack for which you are creating a change set.
capabilities?
Type:
string[]
(optional)
The capabilities that are allowed in the stack.
changeSetType?
Type:
string
(optional)
The type of change set operation.
deploymentMode?
Type:
string
(optional)
Determines how CloudFormation handles configuration drift during deployment.
description?
Type:
string
(optional)
A description to help you identify this change set.
importExistingResources?
Type:
boolean | IResolvable
(optional)
Indicates if the change set imports resources that already exist.
includeNestedStacks?
Type:
boolean | IResolvable
(optional)
Creates a change set for all nested stacks specified in the template.
notificationArns?
Type:
string[]
(optional)
The ARNs of Amazon SNS topics that CloudFormation associates with the stack.
onStackFailure?
Type:
string
(optional)
Determines what action will be taken if stack creation fails.
roleArn?
Type:
string
(optional)
The ARN of an IAM role that CloudFormation assumes when executing the change set.
tags?
Type:
Tags[]
(optional)
Key-value pairs to associate with the change set.
templateBody?
Type:
string
(optional)
A structure that contains the body of the revised template.
templateUrl?
Type:
string
(optional)
The URL of the file that contains the revised template.
usePreviousTemplate?
Type:
boolean | IResolvable
(optional)
Whether to reuse the template associated with the stack to create the change set.

.NET
Go
Java
Python
TypeScript