You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudFormation::Types::AutoDeployment
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFormation::Types::AutoDeployment
- Defined in:
- (unknown)
Overview
When passing AutoDeployment as input to an Aws::Client method, you can use a vanilla Hash:
{
enabled: false,
retain_stacks_on_account_removal: false,
}
[Service-managed
permissions] Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU).
Returned by:
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
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. -
#retain_stacks_on_account_removal ⇒ Boolean
If set to
true
, stack resources are retained when an account is removed from a target organization or OU.
Instance Attribute Details
#enabled ⇒ Boolean
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.
#retain_stacks_on_account_removal ⇒ Boolean
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
.