Interface GrantOnPrincipalOptions
- All Superinterfaces:
CommonGrantOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GrantOnPrincipalOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:16.426Z")
@Stability(Stable)
public interface GrantOnPrincipalOptions
extends software.amazon.jsii.JsiiSerializable, CommonGrantOptions
Options for a grant operation that only applies to principals.
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.*; import software.constructs.*; Object conditions; Construct construct; IGrantable grantable; GrantOnPrincipalOptions grantOnPrincipalOptions = GrantOnPrincipalOptions.builder() .actions(List.of("actions")) .grantee(grantable) .resourceArns(List.of("resourceArns")) // the properties below are optional .conditions(Map.of( "conditionsKey", Map.of( "conditionsKey", conditions))) .scope(construct) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forGrantOnPrincipalOptions
static final class
An implementation forGrantOnPrincipalOptions
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.iam.CommonGrantOptions
getActions, getConditions, getGrantee, getResourceArns
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getScope
@Stability(Stable) @Nullable default software.constructs.IConstruct getScope()Construct to report warnings on in case grant could not be registered.Default: - the construct in which this construct is defined
-
builder
- Returns:
- a
GrantOnPrincipalOptions.Builder
ofGrantOnPrincipalOptions
-