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

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

Overview

Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU). For more information, see Enable or disable automatic deployments for StackSets in Organizations in the CloudFormation User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#depends_onArray<String>

A list of StackSet ARNs that this StackSet depends on for auto-deployment operations. When auto-deployment is triggered, operations will be sequenced to ensure all dependencies complete successfully before this StackSet's operation begins.

Returns:

  • (Array<String>)


321
322
323
324
325
326
327
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 321

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

#enabledBoolean

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:

  • (Boolean)


321
322
323
324
325
326
327
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 321

class AutoDeployment < Struct.new(
  :enabled,
  :retain_stacks_on_account_removal,
  :depends_on)
  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)


321
322
323
324
325
326
327
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 321

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