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