@Stability(value=Stable) public static final class AwsCloudFormationStackProperties.Builder extends Object implements software.amazon.jsii.Builder<AwsCloudFormationStackProperties>
AwsCloudFormationStackProperties| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AwsCloudFormationStackProperties |
build()
Builds the configured instance.
|
AwsCloudFormationStackProperties.Builder |
parameters(Map<String,String> parameters)
Sets the value of
AwsCloudFormationStackProperties.getParameters() |
AwsCloudFormationStackProperties.Builder |
stackName(String stackName)
Sets the value of
AwsCloudFormationStackProperties.getStackName() |
AwsCloudFormationStackProperties.Builder |
templateFile(String templateFile)
Sets the value of
AwsCloudFormationStackProperties.getTemplateFile() |
AwsCloudFormationStackProperties.Builder |
terminationProtection(Boolean terminationProtection)
Sets the value of
AwsCloudFormationStackProperties.getTerminationProtection() |
@Stability(value=Stable) public AwsCloudFormationStackProperties.Builder templateFile(String templateFile)
AwsCloudFormationStackProperties.getTemplateFile()templateFile - A file relative to the assembly root which contains the CloudFormation template for this stack. This parameter is required.this@Stability(value=Stable) public AwsCloudFormationStackProperties.Builder parameters(Map<String,String> parameters)
AwsCloudFormationStackProperties.getParameters()parameters - Values for CloudFormation stack parameters that should be passed when the stack is deployed.this@Stability(value=Stable) public AwsCloudFormationStackProperties.Builder stackName(String stackName)
AwsCloudFormationStackProperties.getStackName()stackName - The name to use for the CloudFormation stack.this@Stability(value=Stable) public AwsCloudFormationStackProperties.Builder terminationProtection(Boolean terminationProtection)
AwsCloudFormationStackProperties.getTerminationProtection()terminationProtection - Whether to enable termination protection for this stack.this@Stability(value=Stable) public AwsCloudFormationStackProperties build()
build in interface software.amazon.jsii.Builder<AwsCloudFormationStackProperties>AwsCloudFormationStackPropertiesNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.