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.services.cloudformation.*;
AutoDeploymentProperty autoDeploymentProperty = AutoDeploymentProperty.builder()
.enabled(false)
.retainStacksOnAccountRemoval(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStackSet.AutoDeploymentPropertystatic final classAn implementation forCfnStackSet.AutoDeploymentProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectIf 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 ObjectIf 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.
-
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 ifEnabledis set toTrue. -
builder
-