AWS::CloudFormation::StackSet DeploymentTargets
The Amazon OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "AccountFilterType" :String, "Accounts" :[ String, ... ], "OrganizationalUnitIds" :[ String, ... ]}
YAML
AccountFilterType:StringAccounts:- StringOrganizationalUnitIds:- String
Properties
AccountFilterType-
Limit deployment targets to individual accounts or include additional accounts with provided OUs.
The following is a list of possible values for the
AccountFilterTypeoperation.-
INTERSECTION: StackSets deploys to the accounts specified inAccountsparameter. -
DIFFERENCE: StackSets excludes the accounts specified inAccountsparameter. This enables user to avoid certain accounts within an OU such as suspended accounts. -
UNION: StackSets includes additional accounts deployment targets.This is the default value if
AccountFilterTypeis not provided. This enables user to update an entire OU and individual accounts from a different OU in one request, which used to be two separate requests. -
NONE: Deploys to all the accounts in specified organizational units (OU).
Required: No
Type: String
Allowed values:
DIFFERENCE | INTERSECTION | NONE | UNIONUpdate requires: No interruption
-
Accounts-
The names of one or more Amazon Web Services accounts for which you want to deploy stack set updates.
Pattern:
^[0-9]{12}$Required: Conditional
Type: List of String
Update requires: No interruption
OrganizationalUnitIds-
The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
Pattern:
^(ou-[a-z0-9]{4,32}-[a-z0-9]{8,32}|r-[a-z0-9]{4,32})$Required: Conditional
Type: List of String
Update requires: No interruption