@Stability(value=Stable) @Internal public static final class FromRoleNameOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FromRoleNameOptions
FromRoleNameOptionssoftware.amazon.jsii.JsiiObject.InitializationModeFromRoleNameOptions.Builder, FromRoleNameOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(FromRoleNameOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
FromRoleNameOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getAddGrantsToResources()
For immutable roles: add grants to resources instead of dropping them.
|
String |
getDefaultPolicyName()
Any policies created by this role will use this value as their ID, if specified.
|
Boolean |
getMutable()
Whether the imported role can be modified by attaching policy resources to it.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(FromRoleNameOptions.Builder builder)
FromRoleNameOptions.Builder.public final Boolean getAddGrantsToResources()
FromRoleArnOptions
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.
Default: false
getAddGrantsToResources in interface FromRoleArnOptionspublic final String getDefaultPolicyName()
FromRoleArnOptionsSpecify this if importing the same role in multiple stacks, and granting it different permissions in at least two stacks. If this is not specified (or if the same name is specified in more than one stack), a CloudFormation issue will result in the policy created in whichever stack is deployed last overwriting the policies created by the others.
Default: 'Policy'
getDefaultPolicyName in interface FromRoleArnOptionspublic final Boolean getMutable()
FromRoleArnOptionsDefault: true
getMutable in interface FromRoleArnOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.