public static interface CfnStackSet.AutoDeploymentProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cloudformation.*; AutoDeploymentProperty autoDeploymentProperty = AutoDeploymentProperty.builder() .enabled(false) .retainStacksOnAccountRemoval(false) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnStackSet.AutoDeploymentProperty.Builder
A builder for
CfnStackSet.AutoDeploymentProperty |
static class |
CfnStackSet.AutoDeploymentProperty.Jsii$Proxy
An implementation for
CfnStackSet.AutoDeploymentProperty |
Modifier and Type | Method and Description |
---|---|
static CfnStackSet.AutoDeploymentProperty.Builder |
builder() |
default java.lang.Object |
getEnabled()
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.
|
default java.lang.Object |
getRetainStacksOnAccountRemoval()
If set to `true` , stack resources are retained when an account is removed from a target organization or OU.
|
default java.lang.Object getEnabled()
If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
default java.lang.Object getRetainStacksOnAccountRemoval()
If set to false
, stack resources are deleted. Specify only if Enabled
is set to True
.
static CfnStackSet.AutoDeploymentProperty.Builder builder()