Class FromRoleArnOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iam.FromRoleArnOptions.Jsii$Proxy
- All Implemented Interfaces:
FromRoleArnOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
FromRoleArnOptions
@Stability(Stable)
@Internal
public static final class FromRoleArnOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements FromRoleArnOptions
An implementation for
FromRoleArnOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.FromRoleArnOptions
FromRoleArnOptions.Builder, FromRoleArnOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(FromRoleArnOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theFromRoleArnOptions.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Boolean
For immutable roles: add grants to resources instead of dropping them.final String
Any policies created by this role will use this value as their ID, if specified.final Boolean
Whether the imported role can be modified by attaching policy resources to it.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theFromRoleArnOptions.Builder
.
-
-
Method Details
-
getAddGrantsToResources
Description copied from interface:FromRoleArnOptions
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.Default: false
- Specified by:
getAddGrantsToResources
in interfaceFromRoleArnOptions
-
getDefaultPolicyName
Description copied from interface:FromRoleArnOptions
Any policies created by this role will use this value as their ID, if specified.Specify 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'
- Specified by:
getDefaultPolicyName
in interfaceFromRoleArnOptions
-
getMutable
Description copied from interface:FromRoleArnOptions
Whether the imported role can be modified by attaching policy resources to it.Default: true
- Specified by:
getMutable
in interfaceFromRoleArnOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-