Interface StackSetsConstraintOptions
- All Superinterfaces:
CommonConstraintOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StackSetsConstraintOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.821Z")
@Stability(Stable)
public interface StackSetsConstraintOptions
extends software.amazon.jsii.JsiiSerializable, CommonConstraintOptions
Properties for deploying with Stackset, which creates a StackSet constraint.
Example:
import software.amazon.awscdk.services.iam.*; Portfolio portfolio; CloudFormationProduct product; Role adminRole = Role.Builder.create(this, "AdminRole") .assumedBy(new AccountRootPrincipal()) .build(); portfolio.deployWithStackSets(product, StackSetsConstraintOptions.builder() .accounts(List.of("012345678901", "012345678902", "012345678903")) .regions(List.of("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) .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forStackSetsConstraintOptions
static final class
An implementation forStackSetsConstraintOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
List of accounts to deploy stacks to.IAM role used to administer the StackSets configuration.default Boolean
Wether to allow end users to create, update, and delete stacks.IAM role used to provision the products in the Stacks.List of regions to deploy stacks to.Methods inherited from interface software.amazon.awscdk.services.servicecatalog.CommonConstraintOptions
getDescription, getMessageLanguage
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccounts
List of accounts to deploy stacks to. -
getAdminRole
IAM role used to administer the StackSets configuration. -
getExecutionRoleName
IAM role used to provision the products in the Stacks. -
getRegions
List of regions to deploy stacks to. -
getAllowStackSetInstanceOperations
Wether to allow end users to create, update, and delete stacks.Default: false
-
builder
- Returns:
- a
StackSetsConstraintOptions.Builder
ofStackSetsConstraintOptions
-