@Stability(value=Experimental) @Internal public static final class GrantWithResourceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GrantWithResourceOptions
GrantWithResourceOptionssoftware.amazon.jsii.JsiiObject.InitializationModeGrantWithResourceOptions.Builder, GrantWithResourceOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IResourceWithPolicy resource,
List<String> resourceSelfArns,
List<String> actions,
IGrantable grantee,
List<String> resourceArns)
Constructor that initializes the object based on literal property values passed by the
GrantWithResourceOptions.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) |
List<String> |
getActions()
(experimental) The actions to grant.
|
IGrantable |
getGrantee()
(experimental) The principal to grant to.
|
IResourceWithPolicy |
getResource()
(experimental) The resource with a resource policy.
|
List<String> |
getResourceArns()
(experimental) The resource ARNs to grant to.
|
List<String> |
getResourceSelfArns()
(experimental) When referring to the resource in a resource policy, use this as ARN.
|
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(IResourceWithPolicy resource, List<String> resourceSelfArns, List<String> actions, IGrantable grantee, List<String> resourceArns)
GrantWithResourceOptions.Builder.public final IResourceWithPolicy getResource()
GrantWithResourceOptionsThe statement will be added to the resource policy if it couldn't be added to the principal policy.
getResource in interface GrantWithResourceOptionspublic final List<String> getResourceSelfArns()
GrantWithResourceOptions(Depending on the resource type, this needs to be '*' in a resource policy).
Default: Same as regular resource ARNs
getResourceSelfArns in interface GrantWithResourceOptionspublic final List<String> getActions()
CommonGrantOptionsgetActions in interface CommonGrantOptionspublic final IGrantable getGrantee()
CommonGrantOptionsDefault: if principal is undefined, no work is done.
getGrantee in interface CommonGrantOptionspublic final List<String> getResourceArns()
CommonGrantOptionsgetResourceArns in interface CommonGrantOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.