Package software.amazon.awscdk
Interface CfnStackSet.AutoDeploymentProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStackSet.AutoDeploymentProperty.Jsii$Proxy
- Enclosing class:
CfnStackSet
@Stability(Stable)
public static interface CfnStackSet.AutoDeploymentProperty
extends software.amazon.jsii.JsiiSerializable
[
Service-managed
permissions] Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organizational unit (OU).
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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnStackSet.AutoDeploymentProperty
static final class
An implementation forCfnStackSet.AutoDeploymentProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
If set totrue
, 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
If set totrue
, stack resources are retained when an account is removed from a target organization or OU.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
If set totrue
, 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.
- See Also:
-
getRetainStacksOnAccountRemoval
If set totrue
, 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 ifEnabled
is set toTrue
.- See Also:
-
builder
-