This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::CloudFormation::StackSet AutoDeployment
Describes whether StackSets automatically deploys to Amazon 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 Amazon Organizations in the Amazon CloudFormation User Guide.
Syntax
To declare this entity in your Amazon 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 Amazon 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 tofalse
, stack resources are deleted. Specify only ifEnabled
is set toTrue
.Required: Conditional
Type: Boolean
Update requires: No interruption