Skip to content
v2.273.0

StackInstancesProperty Struct ​

Stack instances in some specific accounts and Regions.

Example ​

ts
// 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 ​

deploymentTargetsIResolvable | CfnStackSet.DeploymentTargetsPropertydeployment_targetstyping.Union[IResolvable, DeploymentTargetsProperty]deploymentTargetsIResolvableDeploymentTargetsIResolvableDeploymentTargetsinterface{}required#
The AWS Organizations accounts or AWS accounts to deploy stacks to in the specified Regions.
parameterOverridesIResolvable | IResolvable | CfnStackSet.ParameterProperty[]parameter_overridestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ParameterProperty]]]parameterOverridesIResolvableParameterOverridesIResolvableParameterOverridesinterface{}#
A list of StackSet parameters whose values you want to override in the selected stack instances.
regionsstring[]regionstyping.List[str]regionsList<String>Regionsstring[]Regions*[]*stringrequired#
The names of one or more Regions where you want to create stack instances using the specified AWS accounts .