aws-cdk-lib.aws_cloudformation.CfnStackSet.StackInstancesProperty

interface StackInstancesProperty

LanguageType name
.NETAmazon.CDK.AWS.CloudFormation.CfnStackSet.StackInstancesProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudformation#CfnStackSet_StackInstancesProperty
Javasoftware.amazon.awscdk.services.cloudformation.CfnStackSet.StackInstancesProperty
Pythonaws_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'],
    organizationalUnitIds: ['organizationalUnitIds'],
  },
  regions: ['regions'],

  // the properties below are optional
  parameterOverrides: [{
    parameterKey: 'parameterKey',
    parameterValue: 'parameterValue',
  }],
};

Properties

NameTypeDescription
deploymentTargetsIResolvable | DeploymentTargetsPropertyThe AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.
regionsstring[]The names of one or more Regions where you want to create stack instances using the specified AWS accounts .
parameterOverrides?IResolvable | IResolvable | ParameterProperty[]A list of stack set parameters whose values you want to override in the selected stack instances.

deploymentTargets

Type: IResolvable | DeploymentTargetsProperty

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 | ParameterProperty[] (optional)

A list of stack set parameters whose values you want to override in the selected stack instances.