class Aws::CloudFormation::Types::AutoDeployment

[Service-managed permissions] Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU).

@note When making an API call, you may pass AutoDeployment

data as a hash:

    {
      enabled: false,
      retain_stacks_on_account_removal: false,
    }

@!attribute [rw] 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.
@return [Boolean]

@!attribute [rw] retain_stacks_on_account_removal

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`.
@return [Boolean]

@see docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AutoDeployment AWS API Documentation

Constants

SENSITIVE