Class CfnStackMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStackMixinProps>
- Enclosing interface:
CfnStackMixinProps
CfnStackMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.notificationArns(List<String> notificationArns) Sets the value ofCfnStackMixinProps.getNotificationArns()parameters(Map<String, String> parameters) Sets the value ofCfnStackMixinProps.getParameters()parameters(IResolvable parameters) Sets the value ofCfnStackMixinProps.getParameters()Sets the value ofCfnStackMixinProps.getTags()templateUrl(String templateUrl) Sets the value ofCfnStackMixinProps.getTemplateUrl()timeoutInMinutes(Number timeoutInMinutes) Sets the value ofCfnStackMixinProps.getTimeoutInMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
notificationArns
@Stability(Stable) public CfnStackMixinProps.Builder notificationArns(List<String> notificationArns) Sets the value ofCfnStackMixinProps.getNotificationArns()- Parameters:
notificationArns- The Amazon SNS topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).- Returns:
this
-
parameters
Sets the value ofCfnStackMixinProps.getParameters()- Parameters:
parameters- The set value pairs that represent the parameters passed to CloudFormation when this nested stack is created. Each parameter has a name corresponding to a parameter defined in the embedded template and a value representing the value that you want to set for the parameter.If you use the
Reffunction to pass a parameter value to a nested stack, comma-delimited list parameters must be of typeString. In other words, you can't pass values that are of typeCommaDelimitedListto nested stacks.Required if the nested stack requires input parameters.
Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
- Returns:
this
-
parameters
Sets the value ofCfnStackMixinProps.getParameters()- Parameters:
parameters- The set value pairs that represent the parameters passed to CloudFormation when this nested stack is created. Each parameter has a name corresponding to a parameter defined in the embedded template and a value representing the value that you want to set for the parameter.If you use the
Reffunction to pass a parameter value to a nested stack, comma-delimited list parameters must be of typeString. In other words, you can't pass values that are of typeCommaDelimitedListto nested stacks.Required if the nested stack requires input parameters.
Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
- Returns:
this
-
tags
Sets the value ofCfnStackMixinProps.getTags()- Parameters:
tags- Key-value pairs to associate with this stack. CloudFormation also propagates these tags to the resources created in the stack. A maximum number of 50 tags can be specified.- Returns:
this
-
templateUrl
Sets the value ofCfnStackMixinProps.getTemplateUrl()- Parameters:
templateUrl- The URL of a file that contains the template body. The URL must point to a template (max size: 1 MB) that's located in an Amazon S3 bucket. The location for an Amazon S3 bucket must start withhttps://.Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
- Returns:
this
-
timeoutInMinutes
Sets the value ofCfnStackMixinProps.getTimeoutInMinutes()- Parameters:
timeoutInMinutes- The length of time, in minutes, that CloudFormation waits for the nested stack to reach theCREATE_COMPLETEstate. The default is no timeout. When CloudFormation detects that the nested stack has reached theCREATE_COMPLETEstate, it marks the nested stack resource asCREATE_COMPLETEin the parent stack and resumes creating the parent stack. If the timeout period expires before the nested stack reachesCREATE_COMPLETE, CloudFormation marks the nested stack as failed and rolls back both the nested stack and parent stack.Updates aren't supported.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStackMixinProps>- Returns:
- a new instance of
CfnStackMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-