Class FromRoleNameOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iam.FromRoleNameOptions.Jsii$Proxy
- All Implemented Interfaces:
FromRoleArnOptions,FromRoleNameOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
FromRoleNameOptions
@Stability(Stable)
@Internal
public static final class FromRoleNameOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements FromRoleNameOptions
An implementation for
FromRoleNameOptions-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.FromRoleNameOptions
FromRoleNameOptions.Builder, FromRoleNameOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(FromRoleNameOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theFromRoleNameOptions.Builder.protectedJsii$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.JsonNodefinal booleanfinal BooleanFor immutable roles: add grants to resources instead of dropping them.final StringAny policies created by this role will use this value as their ID, if specified.final BooleanWhether the imported role can be modified by attaching policy resources to it.final inthashCode()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 theFromRoleNameOptions.Builder.
-
-
Method Details
-
getAddGrantsToResources
Description copied from interface:FromRoleArnOptionsFor immutable roles: add grants to resources instead of dropping them.If this is
falseor 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:
getAddGrantsToResourcesin interfaceFromRoleArnOptions
-
getDefaultPolicyName
Description copied from interface:FromRoleArnOptionsAny 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:
getDefaultPolicyNamein interfaceFromRoleArnOptions
-
getMutable
Description copied from interface:FromRoleArnOptionsWhether the imported role can be modified by attaching policy resources to it.Default: true
- Specified by:
getMutablein interfaceFromRoleArnOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-