Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS::CloudFormation::StackSet AutoDeployment

Focus mode
AWS::CloudFormation::StackSet AutoDeployment - AWS CloudFormation
Filter View

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

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Enabled" : Boolean, "RetainStacksOnAccountRemoval" : Boolean }

YAML

Enabled: Boolean RetainStacksOnAccountRemoval: Boolean

Properties

Enabled

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.

Required: No

Type: Boolean

Update requires: No interruption

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.

Required: No

Type: Boolean

Update requires: No interruption

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.