@Stability(value=Stable) public static final class SelfManagedDeploymentProps.Builder extends Object implements software.amazon.jsii.Builder<SelfManagedDeploymentProps>
SelfManagedDeploymentProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SelfManagedDeploymentProps.Builder |
administrationRole(IRole administrationRole)
Sets the value of
SelfManagedDeploymentProps.getAdministrationRole() |
SelfManagedDeploymentProps |
build()
Builds the configured instance.
|
SelfManagedDeploymentProps.Builder |
executionRoleName(String executionRoleName)
Sets the value of
SelfManagedDeploymentProps.getExecutionRoleName() |
@Stability(value=Stable) public SelfManagedDeploymentProps.Builder administrationRole(IRole administrationRole)
SelfManagedDeploymentProps.getAdministrationRole()administrationRole - The IAM role in the administrator account used to assume execution roles in the target accounts.
You must create this role before using the StackSet action.
The role needs to be assumable by CloudFormation, and it needs to be able
to sts:AssumeRole each of the execution roles (whose names are specified
in the executionRoleName parameter) in each of the target accounts.
If you do not specify the role, we assume you have created a role named
AWSCloudFormationStackSetAdministrationRole.
this@Stability(value=Stable) public SelfManagedDeploymentProps.Builder executionRoleName(String executionRoleName)
SelfManagedDeploymentProps.getExecutionRoleName()executionRoleName - The name of the IAM role in the target accounts used to perform stack set operations.
You must create these roles in each of the target accounts before using the
StackSet action.
The roles need to be assumable by by the administrationRole, and need to
have the permissions necessary to successfully create and modify the
resources that the subsequent CloudFormation deployments need.
Administrator permissions would be commonly granted to these, but if you can
scope the permissions down frome there you would be safer.
this@Stability(value=Stable) public SelfManagedDeploymentProps build()
build in interface software.amazon.jsii.Builder<SelfManagedDeploymentProps>SelfManagedDeploymentPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.