@Stability(value=Stable) public static final class CfnStackSet.AutoDeploymentProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnStackSet.AutoDeploymentProperty>
CfnStackSet.AutoDeploymentProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnStackSet.AutoDeploymentProperty |
build()
Builds the configured instance.
|
CfnStackSet.AutoDeploymentProperty.Builder |
enabled(Boolean enabled)
Sets the value of
CfnStackSet.AutoDeploymentProperty.getEnabled() |
CfnStackSet.AutoDeploymentProperty.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnStackSet.AutoDeploymentProperty.getEnabled() |
CfnStackSet.AutoDeploymentProperty.Builder |
retainStacksOnAccountRemoval(Boolean retainStacksOnAccountRemoval)
Sets the value of
CfnStackSet.AutoDeploymentProperty.getRetainStacksOnAccountRemoval() |
CfnStackSet.AutoDeploymentProperty.Builder |
retainStacksOnAccountRemoval(IResolvable retainStacksOnAccountRemoval)
Sets the value of
CfnStackSet.AutoDeploymentProperty.getRetainStacksOnAccountRemoval() |
@Stability(value=Stable) public CfnStackSet.AutoDeploymentProperty.Builder enabled(Boolean enabled)
CfnStackSet.AutoDeploymentProperty.getEnabled()enabled - If set to `true` , StackSets automatically deploys additional stack instances to AWS Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions.
If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.this@Stability(value=Stable) public CfnStackSet.AutoDeploymentProperty.Builder enabled(IResolvable enabled)
CfnStackSet.AutoDeploymentProperty.getEnabled()enabled - If set to `true` , StackSets automatically deploys additional stack instances to AWS Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions.
If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.this@Stability(value=Stable) public CfnStackSet.AutoDeploymentProperty.Builder retainStacksOnAccountRemoval(Boolean retainStacksOnAccountRemoval)
CfnStackSet.AutoDeploymentProperty.getRetainStacksOnAccountRemoval()retainStacksOnAccountRemoval - If set to `true` , stack resources are retained when an account is removed from a target organization or OU.
If set to false , stack resources are deleted. Specify only if Enabled is set to True .this@Stability(value=Stable) public CfnStackSet.AutoDeploymentProperty.Builder retainStacksOnAccountRemoval(IResolvable retainStacksOnAccountRemoval)
CfnStackSet.AutoDeploymentProperty.getRetainStacksOnAccountRemoval()retainStacksOnAccountRemoval - If set to `true` , stack resources are retained when an account is removed from a target organization or OU.
If set to false , stack resources are deleted. Specify only if Enabled is set to True .this@Stability(value=Stable) public CfnStackSet.AutoDeploymentProperty build()
build in interface software.amazon.jsii.Builder<CfnStackSet.AutoDeploymentProperty>CfnStackSet.AutoDeploymentPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.