Class GrantOnPrincipalAndResourceOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iam.GrantOnPrincipalAndResourceOptions.Jsii$Proxy
- All Implemented Interfaces:
CommonGrantOptions,GrantOnPrincipalAndResourceOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- GrantOnPrincipalAndResourceOptions
@Stability(Stable)
@Internal
public static final class GrantOnPrincipalAndResourceOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements GrantOnPrincipalAndResourceOptions
An implementation for
GrantOnPrincipalAndResourceOptions-
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.GrantOnPrincipalAndResourceOptions
GrantOnPrincipalAndResourceOptions.Builder, GrantOnPrincipalAndResourceOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theGrantOnPrincipalAndResourceOptions.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 booleanThe actions to grant.final IGrantableThe principal to grant to.final IResourceWithPolicyThe resource with a resource policy.The resource ARNs to grant to.final IPrincipalThe principal to use in the statement for the resource policy.When referring to the resource in a resource policy, use this as ARN.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 theGrantOnPrincipalAndResourceOptions.Builder.
-
-
Method Details
-
getResource
Description copied from interface:GrantOnPrincipalAndResourceOptionsThe resource with a resource policy.The statement will always be added to the resource policy.
- Specified by:
getResourcein interfaceGrantOnPrincipalAndResourceOptions
-
getResourcePolicyPrincipal
Description copied from interface:GrantOnPrincipalAndResourceOptionsThe principal to use in the statement for the resource policy.Default: - the principal of the grantee will be used
- Specified by:
getResourcePolicyPrincipalin interfaceGrantOnPrincipalAndResourceOptions
-
getResourceSelfArns
Description copied from interface:GrantOnPrincipalAndResourceOptionsWhen referring to the resource in a resource policy, use this as ARN.(Depending on the resource type, this needs to be '*' in a resource policy).
Default: Same as regular resource ARNs
- Specified by:
getResourceSelfArnsin interfaceGrantOnPrincipalAndResourceOptions
-
getActions
Description copied from interface:CommonGrantOptionsThe actions to grant.- Specified by:
getActionsin interfaceCommonGrantOptions
-
getGrantee
Description copied from interface:CommonGrantOptionsThe principal to grant to.Default: if principal is undefined, no work is done.
- Specified by:
getGranteein interfaceCommonGrantOptions
-
getResourceArns
Description copied from interface:CommonGrantOptionsThe resource ARNs to grant to.- Specified by:
getResourceArnsin interfaceCommonGrantOptions
-
$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()
-