@Stability(value=Stable)
public static interface CfnStackSet.AutoDeploymentProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
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 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 Object |
getRetainStacksOnAccountRemoval()
If set to `true` , stack resources are retained when an account is removed from a target organization or OU.
|
@Stability(value=Stable) @Nullable default Object getEnabled()
If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
@Stability(value=Stable) @Nullable default Object getRetainStacksOnAccountRemoval()
If set to false , stack resources are deleted. Specify only if Enabled is set to True .
@Stability(value=Stable) static CfnStackSet.AutoDeploymentProperty.Builder builder()
Copyright © 2022. All rights reserved.