@Stability(value=Stable) public static final class CfnStackProps.Builder extends Object implements software.amazon.jsii.Builder<CfnStackProps>
CfnStackProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnStackProps |
build()
Builds the configured instance.
|
CfnStackProps.Builder |
notificationArns(List<String> notificationArns)
Sets the value of
CfnStackProps.getNotificationArns() |
CfnStackProps.Builder |
parameters(IResolvable parameters)
Sets the value of
CfnStackProps.getParameters() |
CfnStackProps.Builder |
parameters(Map<String,String> parameters)
Sets the value of
CfnStackProps.getParameters() |
CfnStackProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnStackProps.getTags() |
CfnStackProps.Builder |
templateUrl(String templateUrl)
Sets the value of
CfnStackProps.getTemplateUrl() |
CfnStackProps.Builder |
timeoutInMinutes(Number timeoutInMinutes)
Sets the value of
CfnStackProps.getTimeoutInMinutes() |
@Stability(value=Stable) public CfnStackProps.Builder templateUrl(String templateUrl)
CfnStackProps.getTemplateUrl()templateUrl - Location of file containing the template body. This parameter is required.
The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket. For more information, see Template anatomy .
Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
this@Stability(value=Stable) public CfnStackProps.Builder notificationArns(List<String> notificationArns)
CfnStackProps.getNotificationArns()notificationArns - The Amazon Simple Notification Service (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).this@Stability(value=Stable) public CfnStackProps.Builder parameters(IResolvable parameters)
CfnStackProps.getParameters()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.
Conditional. 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.
this@Stability(value=Stable) public CfnStackProps.Builder parameters(Map<String,String> parameters)
CfnStackProps.getParameters()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.
Conditional. 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.
this@Stability(value=Stable) public CfnStackProps.Builder tags(List<? extends CfnTag> tags)
CfnStackProps.getTags()tags - Key-value pairs to associate with this stack.
AWS CloudFormation also propagates these tags to the resources created in the stack. A maximum number of 50 tags can be specified.this@Stability(value=Stable) public CfnStackProps.Builder timeoutInMinutes(Number timeoutInMinutes)
CfnStackProps.getTimeoutInMinutes()timeoutInMinutes - The length of time, in minutes, that CloudFormation waits for the nested stack to reach the `CREATE_COMPLETE` state.
The default is no timeout. When CloudFormation detects that the nested stack has reached the CREATE_COMPLETE state, it marks the nested stack resource as CREATE_COMPLETE in the parent stack and resumes creating the parent stack. If the timeout period expires before the nested stack reaches CREATE_COMPLETE , CloudFormation marks the nested stack as failed and rolls back both the nested stack and parent stack.
Updates aren't supported.
this@Stability(value=Stable) public CfnStackProps build()
build in interface software.amazon.jsii.Builder<CfnStackProps>CfnStackPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.