interface DeploymentTargetsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudFormation.CfnStackSet.DeploymentTargetsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscloudformation#CfnStackSet_DeploymentTargetsProperty |
![]() | software.amazon.awscdk.services.cloudformation.CfnStackSet.DeploymentTargetsProperty |
![]() | aws_cdk.aws_cloudformation.CfnStackSet.DeploymentTargetsProperty |
![]() | aws-cdk-lib » aws_cloudformation » CfnStackSet » DeploymentTargetsProperty |
The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudformation as cloudformation } from 'aws-cdk-lib';
const deploymentTargetsProperty: cloudformation.CfnStackSet.DeploymentTargetsProperty = {
accountFilterType: 'accountFilterType',
accounts: ['accounts'],
accountsUrl: 'accountsUrl',
organizationalUnitIds: ['organizationalUnitIds'],
};
Properties
Name | Type | Description |
---|---|---|
account | string | Limit deployment targets to individual accounts or include additional accounts with provided OUs. |
accounts? | string[] | The account IDs of the AWS accounts . |
accounts | string | The Amazon S3 URL path to a file that contains a list of AWS account IDs. |
organizational | string[] | The organization root ID or organizational unit (OU) IDs. |
accountFilterType?
Type:
string
(optional)
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 theAccounts
parameter.DIFFERENCE
: StackSet deploys to the OU, excluding the accounts specified in theAccounts
parameter.UNION
StackSet deploys to the OU, and the accounts specified in theAccounts
parameter.UNION
is not supported for create operations when using StackSet as a resource.
accounts?
Type:
string[]
(optional)
The account IDs of the AWS accounts .
If you have many account numbers, you can provide those accounts using the AccountsUrl
property instead.
Pattern : ^[0-9]{12}$
accountsUrl?
Type:
string
(optional)
The Amazon S3 URL path to a file that contains a list of AWS account IDs.
The file format must be either .csv
or .txt
, and the data can be comma-separated or new-line-separated. There is currently a 10MB limit for the data (approximately 800,000 accounts).
organizationalUnitIds?
Type:
string[]
(optional)
The organization root ID or organizational unit (OU) IDs.
Pattern : ^(ou-[a-z0-9]{4,32}-[a-z0-9]{8,32}|r-[a-z0-9]{4,32})$