@Stability(value=Experimental) public static final class FromRoleArnOptions.Builder extends Object implements software.amazon.jsii.Builder<FromRoleArnOptions>
FromRoleArnOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FromRoleArnOptions.Builder |
addGrantsToResources(Boolean addGrantsToResources)
Sets the value of
FromRoleArnOptions.getAddGrantsToResources() |
FromRoleArnOptions |
build()
Builds the configured instance.
|
FromRoleArnOptions.Builder |
mutable(Boolean mutable)
Sets the value of
FromRoleArnOptions.getMutable() |
@Stability(value=Experimental) public FromRoleArnOptions.Builder addGrantsToResources(Boolean addGrantsToResources)
FromRoleArnOptions.getAddGrantsToResources()addGrantsToResources - For immutable roles: add grants to resources instead of dropping them.
If this is false or not specified, grant permissions added to this role are ignored.
It is your own responsibility to make sure the role has the required permissions.
If this is true, any grant permissions will be added to the resource instead.
this@Stability(value=Experimental) public FromRoleArnOptions.Builder mutable(Boolean mutable)
FromRoleArnOptions.getMutable()mutable - Whether the imported role can be modified by attaching policy resources to it.this@Stability(value=Experimental) public FromRoleArnOptions build()
build in interface software.amazon.jsii.Builder<FromRoleArnOptions>FromRoleArnOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.