interface StackInstancesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudFormation.CfnStackSet.StackInstancesProperty |
Java | software.amazon.awscdk.services.cloudformation.CfnStackSet.StackInstancesProperty |
Python | aws_cdk.aws_cloudformation.CfnStackSet.StackInstancesProperty |
TypeScript | @aws-cdk/aws-cloudformation » CfnStackSet » StackInstancesProperty |
Stack instances in some specific accounts and Regions.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloudformation from '@aws-cdk/aws-cloudformation';
const stackInstancesProperty: cloudformation.CfnStackSet.StackInstancesProperty = {
deploymentTargets: {
accountFilterType: 'accountFilterType',
accounts: ['accounts'],
organizationalUnitIds: ['organizationalUnitIds'],
},
regions: ['regions'],
// the properties below are optional
parameterOverrides: [{
parameterKey: 'parameterKey',
parameterValue: 'parameterValue',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| deployment | IResolvable | Deployment | The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions. |
| regions | string[] | The names of one or more Regions where you want to create stack instances using the specified AWS accounts . |
| parameter | IResolvable | IResolvable | Parameter[] | A list of stack set parameters whose values you want to override in the selected stack instances. |
deploymentTargets
Type:
IResolvable | Deployment
The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.
regions
Type:
string[]
The names of one or more Regions where you want to create stack instances using the specified AWS accounts .
parameterOverrides?
Type:
IResolvable | IResolvable | Parameter[]
(optional)
A list of stack set parameters whose values you want to override in the selected stack instances.

.NET
Java
Python
TypeScript