Deployment targets configuration. Deployment targets is an accelerator-specific configuration object that can be used for resources provisioned by the accelerator. Deployment targets allow you to specify multiple accounts and/or organizational units (OUs) as targets for resource deployment.

The following example would deploy a resource to all accounts in the organization except the Management account:

Example

deploymentTargets:
organizationalUnits:
- Root
excludedAccounts:
- Management

Hierarchy

  • DeploymentTargets

Implements

Constructors

Properties

accounts: string[] = []

Use this property to define one or more accounts as a deployment target.

excludedAccounts: string[] = []

Use this property to explicitly define one or more accounts to exclude from deployment.

excludedRegions: string[] = []

Use this property to explicitly define one or more regions to exclude from deployment.

Remarks

By default, all regions defined in the enabledRegions property of GlobalConfig are included in deploymentTargets.

organizationalUnits: string[] = []

Use this property to define one or more organizational units (OUs) as a deployment target. Resources are provisioned in each account contained within the OU.

Remarks

Any nested OUs that you would like to deploy resources to must be explicitly defined in this property. Deployment targets will not automatically deploy to nested OUs.

Generated using TypeDoc