Interface CfnStackSet.DeploymentTargetsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStackSet.DeploymentTargetsProperty.Jsii$Proxy
- Enclosing class:
CfnStackSet
@Stability(Stable)
public static interface CfnStackSet.DeploymentTargetsProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.cloudformation.*;
DeploymentTargetsProperty deploymentTargetsProperty = DeploymentTargetsProperty.builder()
.accountFilterType("accountFilterType")
.accounts(List.of("accounts"))
.accountsUrl("accountsUrl")
.organizationalUnitIds(List.of("organizationalUnitIds"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStackSet.DeploymentTargetsPropertystatic final classAn implementation forCfnStackSet.DeploymentTargetsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringLimit deployment targets to individual accounts or include additional accounts with provided OUs.The account IDs of the AWS accounts .default StringThe Amazon S3 URL path to a file that contains a list of AWS account IDs.The organization root ID or organizational unit (OU) IDs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccountFilterType
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: StackSet deploys to the accounts specified in theAccountsparameter.DIFFERENCE: StackSet deploys to the OU, excluding the accounts specified in theAccountsparameter.UNIONStackSet deploys to the OU, and the accounts specified in theAccountsparameter.UNIONis not supported for create operations when using StackSet as a resource.
- See Also:
-
getAccounts
The account IDs of the AWS accounts .If you have many account numbers, you can provide those accounts using the
AccountsUrlproperty instead.Pattern :
^[0-9]{12}$- See Also:
-
getAccountsUrl
The Amazon S3 URL path to a file that contains a list of AWS account IDs.The file format must be either
.csvor.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).- See Also:
-
getOrganizationalUnitIds
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})$- See Also:
-
builder
-