@Stability(value=Stable)
public static interface CfnDatabase.PrincipalPrivilegesProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDatabase.PrincipalPrivilegesProperty.Builder
A builder for
CfnDatabase.PrincipalPrivilegesProperty |
static class |
CfnDatabase.PrincipalPrivilegesProperty.Jsii$Proxy
An implementation for
CfnDatabase.PrincipalPrivilegesProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDatabase.PrincipalPrivilegesProperty.Builder |
builder() |
default List<String> |
getPermissions()
The permissions that are granted to the principal.
|
default Object |
getPrincipal()
The principal who is granted permissions.
|
@Stability(value=Stable) @Nullable default List<String> getPermissions()
@Stability(value=Stable) @Nullable default Object getPrincipal()
@Stability(value=Stable) static CfnDatabase.PrincipalPrivilegesProperty.Builder builder()
Copyright © 2022. All rights reserved.