@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.403Z") @Stability(value=Experimental) public interface GrantWithResourceOptions extends software.amazon.jsii.JsiiSerializable, CommonGrantOptions
| Modifier and Type | Interface and Description |
|---|---|
static class |
GrantWithResourceOptions.Builder
A builder for
GrantWithResourceOptions |
static class |
GrantWithResourceOptions.Jsii$Proxy
An implementation for
GrantWithResourceOptions |
| Modifier and Type | Method and Description |
|---|---|
static GrantWithResourceOptions.Builder |
builder() |
IResourceWithPolicy |
getResource()
(experimental) The resource with a resource policy.
|
default List<String> |
getResourceSelfArns()
(experimental) When referring to the resource in a resource policy, use this as ARN.
|
getActions, getGrantee, getResourceArns@Stability(value=Experimental) @NotNull IResourceWithPolicy getResource()
The statement will be added to the resource policy if it couldn't be added to the principal policy.
@Stability(value=Experimental) @Nullable default List<String> getResourceSelfArns()
(Depending on the resource type, this needs to be '*' in a resource policy).
Default: Same as regular resource ARNs
@Stability(value=Experimental) static GrantWithResourceOptions.Builder builder()
builder in interface CommonGrantOptionsGrantWithResourceOptions.Builder of GrantWithResourceOptionsCopyright © 2021. All rights reserved.