AWS::CloudFormation::StackSet DeploymentTargets - AWS CloudFormation

AWS::CloudFormation::StackSet DeploymentTargets

The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.

Syntax

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

JSON

{ "AccountFilterType" : String, "Accounts" : [ String, ... ], "AccountsUrl" : String, "OrganizationalUnitIds" : [ String, ... ] }

YAML

AccountFilterType: String Accounts: - String AccountsUrl: String OrganizationalUnitIds: - 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 AccountFilterType operation.

  • INTERSECTION: StackSet deploys to the accounts specified in the Accounts parameter.

  • DIFFERENCE: StackSet deploys to the OU, excluding the accounts specified in the Accounts parameter.

  • UNION StackSet deploys to the OU, and the accounts specified in the Accounts parameter. UNION is not supported for create operations when using StackSet as a resource.

Required: No

Type: String

Allowed values: NONE | UNION | INTERSECTION | DIFFERENCE

Update requires: No interruption

Accounts

The names of one or more AWS accounts for which you want to deploy stack set updates.

Pattern: ^[0-9]{12}$

Required: Conditional

Type: Array of String

Minimum: 1

Update requires: No interruption

AccountsUrl

Returns the value of the AccountsUrl property.

Required: No

Type: String

Pattern: (s3://|http(s?)://).+

Minimum: 1

Maximum: 5120

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: Array of String

Minimum: 1

Update requires: No interruption