Interface CfnDatabase.PrincipalPrivilegesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDatabase.PrincipalPrivilegesProperty.Jsii$Proxy
- Enclosing class:
- CfnDatabase
@Stability(Stable)
public static interface CfnDatabase.PrincipalPrivilegesProperty
extends software.amazon.jsii.JsiiSerializable
the permissions granted to a principal.
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.glue.*;
PrincipalPrivilegesProperty principalPrivilegesProperty = PrincipalPrivilegesProperty.builder()
.permissions(List.of("permissions"))
.principal(DataLakePrincipalProperty.builder()
.dataLakePrincipalIdentifier("dataLakePrincipalIdentifier")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDatabase.PrincipalPrivilegesPropertystatic final classAn implementation forCfnDatabase.PrincipalPrivilegesProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPermissions
The permissions that are granted to the principal. -
getPrincipal
The principal who is granted permissions. -
builder
-