Show / Hide Table of Contents

Interface IStackSetsConstraintOptions

Properties for deploying with Stackset, which creates a StackSet constraint.

Inherited Members
ICommonConstraintOptions.Description
ICommonConstraintOptions.MessageLanguage
Namespace: Amazon.CDK.AWS.Servicecatalog
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IStackSetsConstraintOptions : ICommonConstraintOptions
Syntax (vb)
Public Interface IStackSetsConstraintOptions Inherits ICommonConstraintOptions
Remarks

ExampleMetadata: infused

Examples
Portfolio portfolio;
            CloudFormationProduct product;


            var adminRole = new Role(this, "AdminRole", new RoleProps {
                AssumedBy = new AccountRootPrincipal()
            });

            portfolio.DeployWithStackSets(product, new StackSetsConstraintOptions {
                Accounts = new [] { "012345678901", "012345678902", "012345678903" },
                Regions = new [] { "us-west-1", "us-east-1", "us-west-2", "us-east-1" },
                AdminRole = adminRole,
                ExecutionRoleName = "SCStackSetExecutionRole",  // Name of role deployed in end users accounts.
                AllowStackSetInstanceOperations = true
            });

Synopsis

Properties

Accounts

List of accounts to deploy stacks to.

AdminRole

IAM role used to administer the StackSets configuration.

AllowStackSetInstanceOperations

Wether to allow end users to create, update, and delete stacks.

ExecutionRoleName

IAM role used to provision the products in the Stacks.

Regions

List of regions to deploy stacks to.

Properties

Accounts

List of accounts to deploy stacks to.

string[] Accounts { get; }
Property Value

string[]

Remarks

ExampleMetadata: infused

AdminRole

IAM role used to administer the StackSets configuration.

IRole AdminRole { get; }
Property Value

IRole

Remarks

ExampleMetadata: infused

AllowStackSetInstanceOperations

Wether to allow end users to create, update, and delete stacks.

bool? AllowStackSetInstanceOperations { get; }
Property Value

bool?

Remarks

Default: false

ExecutionRoleName

IAM role used to provision the products in the Stacks.

string ExecutionRoleName { get; }
Property Value

string

Remarks

ExampleMetadata: infused

Regions

List of regions to deploy stacks to.

string[] Regions { get; }
Property Value

string[]

Remarks

ExampleMetadata: infused

Back to top Generated by DocFX