Interface CommonGrantOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
GrantOnPrincipalAndResourceOptions
,GrantOnPrincipalOptions
,GrantWithResourceOptions
- All Known Implementing Classes:
CommonGrantOptions.Jsii$Proxy
,GrantOnPrincipalAndResourceOptions.Jsii$Proxy
,GrantOnPrincipalOptions.Jsii$Proxy
,GrantWithResourceOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:44.408Z")
@Stability(Stable)
public interface CommonGrantOptions
extends software.amazon.jsii.JsiiSerializable
Basic options for a grant operation.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.iam.*; Object conditions; IGrantable grantable; CommonGrantOptions commonGrantOptions = CommonGrantOptions.builder() .actions(List.of("actions")) .grantee(grantable) .resourceArns(List.of("resourceArns")) // the properties below are optional .conditions(Map.of( "conditionsKey", Map.of( "conditionsKey", conditions))) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCommonGrantOptions
static final class
An implementation forCommonGrantOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic CommonGrantOptions.Builder
builder()
The actions to grant.Any conditions to attach to the grant.The principal to grant to.The resource ARNs to grant to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActions
The actions to grant. -
getGrantee
The principal to grant to.Default: if principal is undefined, no work is done.
-
getResourceArns
The resource ARNs to grant to. -
getConditions
Any conditions to attach to the grant.Default: - No conditions
-
builder
- Returns:
- a
CommonGrantOptions.Builder
ofCommonGrantOptions
-