@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-07-01T09:58:31.218Z") public interface GrantOnPrincipalOptions extends 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.amazon.awscdk.core.*; 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 IConstruct |
getScope()
Construct to report warnings on in case grant could not be registered.
|
getActions, getGrantee, getResourceArns
default IConstruct getScope()
Default: - the construct in which this construct is defined
static GrantOnPrincipalOptions.Builder builder()
builder
in interface CommonGrantOptions
GrantOnPrincipalOptions.Builder
of GrantOnPrincipalOptions