@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.757Z") @Stability(value=Stable) public interface GrantOnPrincipalOptions extends software.amazon.jsii.JsiiSerializable, CommonGrantOptions
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.*;
Construct construct;
IGrantable grantable;
GrantOnPrincipalOptions grantOnPrincipalOptions = GrantOnPrincipalOptions.builder()
.actions(List.of("actions"))
.grantee(grantable)
.resourceArns(List.of("resourceArns"))
// the properties below are optional
.scope(construct)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
GrantOnPrincipalOptions.Builder
A builder for
GrantOnPrincipalOptions |
static class |
GrantOnPrincipalOptions.Jsii$Proxy
An implementation for
GrantOnPrincipalOptions |
| Modifier and Type | Method and Description |
|---|---|
static GrantOnPrincipalOptions.Builder |
builder() |
default software.constructs.IConstruct |
getScope()
Construct to report warnings on in case grant could not be registered.
|
getActions, getGrantee, getResourceArns@Stability(value=Stable) @Nullable default software.constructs.IConstruct getScope()
Default: - the construct in which this construct is defined
@Stability(value=Stable) static GrantOnPrincipalOptions.Builder builder()
builder in interface CommonGrantOptionsGrantOnPrincipalOptions.Builder of GrantOnPrincipalOptionsCopyright © 2022. All rights reserved.