public static final class GrantWithResourceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GrantWithResourceOptions
GrantWithResourceOptions
GrantWithResourceOptions.Builder, GrantWithResourceOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.util.List<java.lang.String> |
getActions()
The actions to grant.
|
IGrantable |
getGrantee()
The principal to grant to.
|
IResourceWithPolicy |
getResource()
The resource with a resource policy.
|
java.util.List<java.lang.String> |
getResourceArns()
The resource ARNs to grant to.
|
java.util.List<java.lang.String> |
getResourceSelfArns()
When referring to the resource in a resource policy, use this as ARN.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final IResourceWithPolicy getResource()
GrantWithResourceOptions
The statement will be added to the resource policy if it couldn't be added to the principal policy.
getResource
in interface GrantWithResourceOptions
public final java.util.List<java.lang.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 GrantWithResourceOptions
public final java.util.List<java.lang.String> getActions()
CommonGrantOptions
getActions
in interface CommonGrantOptions
public final IGrantable getGrantee()
CommonGrantOptions
Default: if principal is undefined, no work is done.
getGrantee
in interface CommonGrantOptions
public final java.util.List<java.lang.String> getResourceArns()
CommonGrantOptions
getResourceArns
in interface CommonGrantOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()