@Stability(value=Stable) public static final class StackProps.Builder extends Object
StackProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StackProps |
build()
Builds the configured instance.
|
StackProps.Builder |
description(String description)
Sets the value of
StackProps.getDescription() |
StackProps.Builder |
env(Environment env)
Sets the value of
StackProps.getEnv() |
StackProps.Builder |
stackName(String stackName)
Sets the value of
StackProps.getStackName() |
StackProps.Builder |
synthesizer(IStackSynthesizer synthesizer)
Sets the value of
StackProps.getSynthesizer() |
StackProps.Builder |
tags(Map<String,String> tags)
Sets the value of
StackProps.getTags() |
StackProps.Builder |
terminationProtection(Boolean terminationProtection)
Sets the value of
StackProps.getTerminationProtection() |
@Stability(value=Stable) public StackProps.Builder description(String description)
StackProps.getDescription()description - A description of the stack.this@Stability(value=Stable) public StackProps.Builder env(Environment env)
StackProps.getEnv()env - The AWS environment (account/region) where this stack will be deployed.this@Stability(value=Stable) public StackProps.Builder stackName(String stackName)
StackProps.getStackName()stackName - Name to deploy the stack with.this@Stability(value=Stable) public StackProps.Builder synthesizer(IStackSynthesizer synthesizer)
StackProps.getSynthesizer()synthesizer - Synthesis method to use while deploying this stack.this@Stability(value=Stable) public StackProps.Builder tags(Map<String,String> tags)
StackProps.getTags()tags - Stack tags that will be applied to all the taggable resources and the stack itself.this@Stability(value=Stable) public StackProps.Builder terminationProtection(Boolean terminationProtection)
StackProps.getTerminationProtection()terminationProtection - Whether to enable termination protection for this stack.this@Stability(value=Stable) public StackProps build()
StackPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.