@Stability(value=Stable) public static final class BootstrapRole.Builder extends Object implements software.amazon.jsii.Builder<BootstrapRole>
BootstrapRole| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BootstrapRole.Builder |
arn(String arn)
Sets the value of
BootstrapRole.getArn() |
BootstrapRole.Builder |
assumeRoleExternalId(String assumeRoleExternalId)
Sets the value of
BootstrapRole.getAssumeRoleExternalId() |
BootstrapRole.Builder |
bootstrapStackVersionSsmParameter(String bootstrapStackVersionSsmParameter)
Sets the value of
BootstrapRole.getBootstrapStackVersionSsmParameter() |
BootstrapRole |
build()
Builds the configured instance.
|
BootstrapRole.Builder |
requiresBootstrapStackVersion(Number requiresBootstrapStackVersion)
Sets the value of
BootstrapRole.getRequiresBootstrapStackVersion() |
@Stability(value=Stable) public BootstrapRole.Builder arn(String arn)
BootstrapRole.getArn()arn - The ARN of the IAM role created as part of bootrapping e.g. lookupRoleArn. This parameter is required.this@Stability(value=Stable) public BootstrapRole.Builder assumeRoleExternalId(String assumeRoleExternalId)
BootstrapRole.getAssumeRoleExternalId()assumeRoleExternalId - External ID to use when assuming the bootstrap role.this@Stability(value=Stable) public BootstrapRole.Builder bootstrapStackVersionSsmParameter(String bootstrapStackVersionSsmParameter)
BootstrapRole.getBootstrapStackVersionSsmParameter()bootstrapStackVersionSsmParameter - Name of SSM parameter with bootstrap stack version.this@Stability(value=Stable) public BootstrapRole.Builder requiresBootstrapStackVersion(Number requiresBootstrapStackVersion)
BootstrapRole.getRequiresBootstrapStackVersion()requiresBootstrapStackVersion - Version of bootstrap stack required to use this role.this@Stability(value=Stable) public BootstrapRole build()
build in interface software.amazon.jsii.Builder<BootstrapRole>BootstrapRoleNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.