Table of Contents

Class CfnStackSet.StackInstancesProperty

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

Stack instances in some specific accounts and Regions.

public class CfnStackSet.StackInstancesProperty : CfnStackSet.IStackInstancesProperty
Inheritance
CfnStackSet.StackInstancesProperty
Implements
Inherited Members

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK;
             var stackInstancesProperty = new StackInstancesProperty {
                 DeploymentTargets = new DeploymentTargetsProperty {
                     AccountFilterType = "accountFilterType",
                     Accounts = new [] { "accounts" },
                     OrganizationalUnitIds = new [] { "organizationalUnitIds" }
                 },
                 Regions = new [] { "regions" },

                 // the properties below are optional
                 ParameterOverrides = new [] { new ParameterProperty {
                     ParameterKey = "parameterKey",
                     ParameterValue = "parameterValue"
                 } }
             };

Remarks

Constructors

StackInstancesProperty()

public StackInstancesProperty()

Properties

DeploymentTargets

The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.

public object DeploymentTargets { get; set; }

Property Value

object

Remarks

ParameterOverrides

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

public object? ParameterOverrides { get; set; }

Property Value

object

Remarks

Regions

The names of one or more Regions where you want to create stack instances using the specified AWS accounts .

public string[] Regions { get; set; }

Property Value

string[]

Remarks