Interface CfnChangeSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChangeSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:05.300Z")
@Stability(Stable)
public interface CfnChangeSetProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.cloudformation.*;
CfnChangeSetProps cfnChangeSetProps = CfnChangeSetProps.builder()
.changeSetName("changeSetName")
.stackName("stackName")
// the properties below are optional
.capabilities(List.of("capabilities"))
.changeSetType("changeSetType")
.deploymentMode("deploymentMode")
.description("description")
.importExistingResources(false)
.includeNestedStacks(false)
.notificationArns(List.of("notificationArns"))
.onStackFailure("onStackFailure")
.roleArn("roleArn")
.tags(List.of(TagsItemsProperty.builder()
.key("key")
.value("value")
.build()))
.templateBody("templateBody")
.templateUrl("templateUrl")
.usePreviousTemplate(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnChangeSetPropsstatic final classAn implementation forCfnChangeSetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnChangeSetProps.Builderbuilder()The capabilities that are allowed in the stack.The name of the change set.default StringThe type of change set operation.default StringDetermines how CloudFormation handles configuration drift during deployment.default StringA description to help you identify this change set.default ObjectIndicates if the change set imports resources that already exist.default ObjectCreates a change set for all nested stacks specified in the template.The ARNs of Amazon SNS topics that CloudFormation associates with the stack.default StringDetermines what action will be taken if stack creation fails.default StringThe ARN of an IAM role that CloudFormation assumes when executing the change set.The name or unique ID of the stack for which you are creating a change set.default List<CfnChangeSet.TagsItemsProperty> getTags()Key-value pairs to associate with the change set.default StringA structure that contains the body of the revised template.default StringThe URL of the file that contains the revised template.default ObjectWhether to reuse the template associated with the stack to create the change set.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getChangeSetName
The name of the change set.Must be unique among all change sets associated with the specified stack.
- See Also:
-
getStackName
The name or unique ID of the stack for which you are creating a change set.- See Also:
-
getCapabilities
The capabilities that are allowed in the stack.- See Also:
-
getChangeSetType
The type of change set operation.- See Also:
-
getDeploymentMode
Determines how CloudFormation handles configuration drift during deployment.- See Also:
-
getDescription
A description to help you identify this change set.- See Also:
-
getImportExistingResources
Indicates if the change set imports resources that already exist.Returns union: either
BooleanorIResolvable- See Also:
-
getIncludeNestedStacks
Creates a change set for all nested stacks specified in the template.Returns union: either
BooleanorIResolvable- See Also:
-
getNotificationArns
The ARNs of Amazon SNS topics that CloudFormation associates with the stack.- See Also:
-
getOnStackFailure
Determines what action will be taken if stack creation fails.- See Also:
-
getRoleArn
The ARN of an IAM role that CloudFormation assumes when executing the change set.- See Also:
-
getTags
Key-value pairs to associate with the change set.- See Also:
-
getTemplateBody
A structure that contains the body of the revised template.- See Also:
-
getTemplateUrl
The URL of the file that contains the revised template.- See Also:
-
getUsePreviousTemplate
Whether to reuse the template associated with the stack to create the change set.Returns union: either
BooleanorIResolvable- See Also:
-
builder
- Returns:
- a
CfnChangeSetProps.BuilderofCfnChangeSetProps
-