public static final class GrantOnPrincipalAndResourceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GrantOnPrincipalAndResourceOptions
GrantOnPrincipalAndResourceOptions
GrantOnPrincipalAndResourceOptions.Builder, GrantOnPrincipalAndResourceOptions.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.
|
IPrincipal |
getResourcePolicyPrincipal()
The principal to use in the statement for the resource policy.
|
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()
GrantOnPrincipalAndResourceOptions
The statement will always be added to the resource policy.
getResource
in interface GrantOnPrincipalAndResourceOptions
public final IPrincipal getResourcePolicyPrincipal()
GrantOnPrincipalAndResourceOptions
Default: - the principal of the grantee will be used
getResourcePolicyPrincipal
in interface GrantOnPrincipalAndResourceOptions
public final java.util.List<java.lang.String> getResourceSelfArns()
GrantOnPrincipalAndResourceOptions
(Depending on the resource type, this needs to be '*' in a resource policy).
Default: Same as regular resource ARNs
getResourceSelfArns
in interface GrantOnPrincipalAndResourceOptions
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()