interface StackInstancesProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CloudFormation.CfnStackSet.StackInstancesProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudformation#CfnStackSet_StackInstancesProperty |
Java | software.amazon.awscdk.services.cloudformation.CfnStackSet.StackInstancesProperty |
Python | aws_cdk.aws_cloudformation.CfnStackSet.StackInstancesProperty |
TypeScript | aws-cdk-lib » 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 { aws_cloudformation as cloudformation } from 'aws-cdk-lib';
const stackInstancesProperty: cloudformation.CfnStackSet.StackInstancesProperty = {
deploymentTargets: {
accountFilterType: 'accountFilterType',
accounts: ['accounts'],
accountsUrl: 'accountsUrl',
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.