@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-15T10:03:45.294Z") @Stability(value=Experimental) public interface StackSetsConstraintOptions extends software.amazon.jsii.JsiiSerializable, CommonConstraintOptions
Example:
import software.amazon.awscdk.services.iam.*;
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());
| Modifier and Type | Interface and Description |
|---|---|
static class |
StackSetsConstraintOptions.Builder
A builder for
StackSetsConstraintOptions |
static class |
StackSetsConstraintOptions.Jsii$Proxy
An implementation for
StackSetsConstraintOptions |
| Modifier and Type | Method and Description |
|---|---|
static StackSetsConstraintOptions.Builder |
builder() |
List<String> |
getAccounts()
(experimental) List of accounts to deploy stacks to.
|
IRole |
getAdminRole()
(experimental) IAM role used to administer the StackSets configuration.
|
default Boolean |
getAllowStackSetInstanceOperations()
(experimental) Wether to allow end users to create, update, and delete stacks.
|
String |
getExecutionRoleName()
(experimental) IAM role used to provision the products in the Stacks.
|
List<String> |
getRegions()
(experimental) List of regions to deploy stacks to.
|
getDescription, getMessageLanguage@Stability(value=Experimental) @NotNull List<String> getAccounts()
@Stability(value=Experimental) @NotNull IRole getAdminRole()
@Stability(value=Experimental) @NotNull String getExecutionRoleName()
@Stability(value=Experimental) @NotNull List<String> getRegions()
@Stability(value=Experimental) @Nullable default Boolean getAllowStackSetInstanceOperations()
Default: false
@Stability(value=Experimental) static StackSetsConstraintOptions.Builder builder()
builder in interface CommonConstraintOptionsStackSetsConstraintOptions.Builder of StackSetsConstraintOptionsCopyright © 2021. All rights reserved.