Interface AutoDeployment.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AutoDeployment.Builder,AutoDeployment>, SdkBuilder<AutoDeployment.Builder,AutoDeployment>, SdkPojo
Enclosing class:
AutoDeployment

public static interface AutoDeployment.Builder extends SdkPojo, CopyableBuilder<AutoDeployment.Builder,AutoDeployment>
  • Method Details

    • enabled

      AutoDeployment.Builder enabled(Boolean enabled)

      If set to true, StackSets automatically deploys additional stack instances to 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.

      Parameters:
      enabled - If set to true, StackSets automatically deploys additional stack instances to 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • retainStacksOnAccountRemoval

      AutoDeployment.Builder retainStacksOnAccountRemoval(Boolean retainStacksOnAccountRemoval)

      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.

      Parameters:
      retainStacksOnAccountRemoval - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.