AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::CloudFormation::Types::AutoDeployment

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb

Overview

Note:

When making an API call, you may pass AutoDeployment data as a 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).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

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.

Returns:

  • (Boolean)


150
151
152
153
154
155
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 150

class AutoDeployment < Struct.new(
  :enabled,
  :retain_stacks_on_account_removal)
  SENSITIVE = []
  include Aws::Structure
end

#retain_stacks_on_account_removalBoolean

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:

  • (Boolean)


150
151
152
153
154
155
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 150

class AutoDeployment < Struct.new(
  :enabled,
  :retain_stacks_on_account_removal)
  SENSITIVE = []
  include Aws::Structure
end