Class CfnChangeSetPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudformation.CfnChangeSetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChangeSetPropsMixin>
- Enclosing class:
CfnChangeSetPropsMixin
@Stability(Stable)
public static final class CfnChangeSetPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChangeSetPropsMixin>
A fluent builder for
CfnChangeSetPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()capabilities(List<String> capabilities) The capabilities that are allowed in the stack.changeSetName(String changeSetName) The name of the change set.changeSetType(String changeSetType) The type of change set operation.create()create(CfnPropertyMixinOptions options) deploymentMode(String deploymentMode) Determines how CloudFormation handles configuration drift during deployment.description(String description) A description to help you identify this change set.importExistingResources(Boolean importExistingResources) Indicates if the change set imports resources that already exist.importExistingResources(IResolvable importExistingResources) Indicates if the change set imports resources that already exist.includeNestedStacks(Boolean includeNestedStacks) Creates a change set for all nested stacks specified in the template.includeNestedStacks(IResolvable includeNestedStacks) Creates a change set for all nested stacks specified in the template.notificationArns(List<String> notificationArns) The ARNs of Amazon SNS topics that CloudFormation associates with the stack.onStackFailure(String onStackFailure) Determines what action will be taken if stack creation fails.The 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.tags(List<? extends CfnChangeSetPropsMixin.TagsItemsProperty> tags) Key-value pairs to associate with the change set.templateBody(String templateBody) A structure that contains the body of the revised template.templateUrl(String templateUrl) The URL of the file that contains the revised template.usePreviousTemplate(Boolean usePreviousTemplate) Whether to reuse the template associated with the stack to create the change set.usePreviousTemplate(IResolvable usePreviousTemplate) Whether to reuse the template associated with the stack to create the change set.
-
Method Details
-
create
@Stability(Stable) public static CfnChangeSetPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnChangeSetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnChangeSetPropsMixin.Builder.
-
capabilities
The capabilities that are allowed in the stack.- Parameters:
capabilities- The capabilities that are allowed in the stack. This parameter is required.- Returns:
this- See Also:
-
changeSetName
The name of the change set.Must be unique among all change sets associated with the specified stack.
- Parameters:
changeSetName- The name of the change set. This parameter is required.- Returns:
this- See Also:
-
changeSetType
The type of change set operation.- Parameters:
changeSetType- The type of change set operation. This parameter is required.- Returns:
this- See Also:
-
deploymentMode
Determines how CloudFormation handles configuration drift during deployment.- Parameters:
deploymentMode- Determines how CloudFormation handles configuration drift during deployment. This parameter is required.- Returns:
this- See Also:
-
description
A description to help you identify this change set.- Parameters:
description- A description to help you identify this change set. This parameter is required.- Returns:
this- See Also:
-
importExistingResources
@Stability(Stable) public CfnChangeSetPropsMixin.Builder importExistingResources(Boolean importExistingResources) Indicates if the change set imports resources that already exist.- Parameters:
importExistingResources- Indicates if the change set imports resources that already exist. This parameter is required.- Returns:
this- See Also:
-
importExistingResources
@Stability(Stable) public CfnChangeSetPropsMixin.Builder importExistingResources(IResolvable importExistingResources) Indicates if the change set imports resources that already exist.- Parameters:
importExistingResources- Indicates if the change set imports resources that already exist. This parameter is required.- Returns:
this- See Also:
-
includeNestedStacks
@Stability(Stable) public CfnChangeSetPropsMixin.Builder includeNestedStacks(Boolean includeNestedStacks) Creates a change set for all nested stacks specified in the template.- Parameters:
includeNestedStacks- Creates a change set for all nested stacks specified in the template. This parameter is required.- Returns:
this- See Also:
-
includeNestedStacks
@Stability(Stable) public CfnChangeSetPropsMixin.Builder includeNestedStacks(IResolvable includeNestedStacks) Creates a change set for all nested stacks specified in the template.- Parameters:
includeNestedStacks- Creates a change set for all nested stacks specified in the template. This parameter is required.- Returns:
this- See Also:
-
notificationArns
@Stability(Stable) public CfnChangeSetPropsMixin.Builder notificationArns(List<String> notificationArns) The ARNs of Amazon SNS topics that CloudFormation associates with the stack.- Parameters:
notificationArns- The ARNs of Amazon SNS topics that CloudFormation associates with the stack. This parameter is required.- Returns:
this- See Also:
-
onStackFailure
Determines what action will be taken if stack creation fails.- Parameters:
onStackFailure- Determines what action will be taken if stack creation fails. This parameter is required.- Returns:
this- See Also:
-
roleArn
The ARN of an IAM role that CloudFormation assumes when executing the change set.- Parameters:
roleArn- The ARN of an IAM role that CloudFormation assumes when executing the change set. This parameter is required.- Returns:
this- See Also:
-
stackName
The name or unique ID of the stack for which you are creating a change set.- Parameters:
stackName- The name or unique ID of the stack for which you are creating a change set. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnChangeSetPropsMixin.Builder tags(List<? extends CfnChangeSetPropsMixin.TagsItemsProperty> tags) Key-value pairs to associate with the change set.- Parameters:
tags- Key-value pairs to associate with the change set. This parameter is required.- Returns:
this- See Also:
-
templateBody
A structure that contains the body of the revised template.- Parameters:
templateBody- A structure that contains the body of the revised template. This parameter is required.- Returns:
this- See Also:
-
templateUrl
The URL of the file that contains the revised template.- Parameters:
templateUrl- The URL of the file that contains the revised template. This parameter is required.- Returns:
this- See Also:
-
usePreviousTemplate
@Stability(Stable) public CfnChangeSetPropsMixin.Builder usePreviousTemplate(Boolean usePreviousTemplate) Whether to reuse the template associated with the stack to create the change set.- Parameters:
usePreviousTemplate- Whether to reuse the template associated with the stack to create the change set. This parameter is required.- Returns:
this- See Also:
-
usePreviousTemplate
@Stability(Stable) public CfnChangeSetPropsMixin.Builder usePreviousTemplate(IResolvable usePreviousTemplate) Whether to reuse the template associated with the stack to create the change set.- Parameters:
usePreviousTemplate- Whether to reuse the template associated with the stack to create the change set. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChangeSetPropsMixin>- Returns:
- a newly built instance of
CfnChangeSetPropsMixin.
-