Class RoleLookupOptions.Jsii$Proxy
- All Implemented Interfaces:
FromRoleArnOptions,RoleLookupOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
RoleLookupOptions
RoleLookupOptions-
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.RoleLookupOptions
RoleLookupOptions.Builder, RoleLookupOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(RoleLookupOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theRoleLookupOptions.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 StringThe name of the role to lookup.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 theRoleLookupOptions.Builder.
-
-
Method Details
-
getRoleName
Description copied from interface:RoleLookupOptionsThe name of the role to lookup.If the role you want to lookup is a service role, you need to specify the role name without the 'service-role' prefix. For example, if the role arn is 'arn:aws:iam::123456789012:role/service-role/ExampleServiceExecutionRole', you need to specify the role name as 'ExampleServiceExecutionRole'.
- Specified by:
getRoleNamein interfaceRoleLookupOptions
-
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()
-