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.core.*;
 AutoDeploymentProperty autoDeploymentProperty = AutoDeploymentProperty.builder()
         .enabled(false)
         .retainStacksOnAccountRemoval(false)
         .build();
 
  • Method Details

    • getEnabled

      @Stability(Stable) @Nullable 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.

      If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.

    • getRetainStacksOnAccountRemoval

      @Stability(Stable) @Nullable default Object getRetainStacksOnAccountRemoval()
      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 .

    • builder

      @Stability(Stable) static CfnStackSet.AutoDeploymentProperty.Builder builder()
      Returns:
      a CfnStackSet.AutoDeploymentProperty.Builder of CfnStackSet.AutoDeploymentProperty