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 Organizations accounts or AWS accounts to deploy stacks to in the specified Regions.

When deploying to AWS Organizations accounts with SERVICE_MANAGED permissions:

  • You must specify the OrganizationalUnitIds property.
  • If you specify organizational units (OUs) for OrganizationalUnitIds and use either the Accounts or AccountsUrl property, you must also specify the AccountFilterType property.

When deploying to AWS accounts with SELF_MANAGED permissions:

  • You must specify either the Accounts or AccountsUrl property, but not both.

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: