@Stability(value=Experimental) public static final class AwsCloudFormationStackProperties.Builder extends Object implements software.amazon.jsii.Builder<AwsCloudFormationStackProperties>
AwsCloudFormationStackProperties| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) 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=Experimental) public AwsCloudFormationStackProperties.Builder assumeRoleArn(String assumeRoleArn)
AwsCloudFormationStackProperties.getAssumeRoleArn()assumeRoleArn - The role that needs to be assumed to deploy the stack.this@Stability(value=Experimental) public AwsCloudFormationStackProperties.Builder bootstrapStackVersionSsmParameter(String bootstrapStackVersionSsmParameter)
AwsCloudFormationStackProperties.getBootstrapStackVersionSsmParameter()bootstrapStackVersionSsmParameter - SSM parameter where the bootstrap stack version number can be found.
Only used if requiresBootstrapStackVersion is set.
this@Stability(value=Experimental) public AwsCloudFormationStackProperties.Builder cloudFormationExecutionRoleArn(String cloudFormationExecutionRoleArn)
AwsCloudFormationStackProperties.getCloudFormationExecutionRoleArn()cloudFormationExecutionRoleArn - The role that is passed to CloudFormation to execute the change set.this@Stability(value=Experimental) 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=Experimental) public AwsCloudFormationStackProperties.Builder requiresBootstrapStackVersion(Number requiresBootstrapStackVersion)
AwsCloudFormationStackProperties.getRequiresBootstrapStackVersion()requiresBootstrapStackVersion - Version of bootstrap stack required to deploy this stack.this@Stability(value=Experimental) public AwsCloudFormationStackProperties.Builder stackName(String stackName)
AwsCloudFormationStackProperties.getStackName()stackName - The name to use for the CloudFormation stack.this@Stability(value=Experimental) public AwsCloudFormationStackProperties.Builder stackTemplateAssetObjectUrl(String stackTemplateAssetObjectUrl)
AwsCloudFormationStackProperties.getStackTemplateAssetObjectUrl()stackTemplateAssetObjectUrl - If the stack template has already been included in the asset manifest, its asset URL.this@Stability(value=Experimental) public AwsCloudFormationStackProperties.Builder tags(Map<String,String> tags)
AwsCloudFormationStackProperties.getTags()tags - Values for CloudFormation stack tags that should be passed when the stack is deployed.this@Stability(value=Experimental) public AwsCloudFormationStackProperties.Builder terminationProtection(Boolean terminationProtection)
AwsCloudFormationStackProperties.getTerminationProtection()terminationProtection - Whether to enable termination protection for this stack.this@Stability(value=Experimental) public AwsCloudFormationStackProperties.Builder validateOnSynth(Boolean validateOnSynth)
AwsCloudFormationStackProperties.getValidateOnSynth()validateOnSynth - Whether this stack should be validated by the CLI after synthesis.this@Stability(value=Experimental) public AwsCloudFormationStackProperties build()
build in interface software.amazon.jsii.Builder<AwsCloudFormationStackProperties>AwsCloudFormationStackPropertiesNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.