@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.358Z") @Stability(value=Stable) public interface CfnPermissionsProps 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.lakeformation.*;
CfnPermissionsProps cfnPermissionsProps = CfnPermissionsProps.builder()
.dataLakePrincipal(DataLakePrincipalProperty.builder()
.dataLakePrincipalIdentifier("dataLakePrincipalIdentifier")
.build())
.resource(ResourceProperty.builder()
.databaseResource(DatabaseResourceProperty.builder()
.catalogId("catalogId")
.name("name")
.build())
.dataLocationResource(DataLocationResourceProperty.builder()
.catalogId("catalogId")
.s3Resource("s3Resource")
.build())
.tableResource(TableResourceProperty.builder()
.catalogId("catalogId")
.databaseName("databaseName")
.name("name")
.tableWildcard(TableWildcardProperty.builder().build())
.build())
.tableWithColumnsResource(TableWithColumnsResourceProperty.builder()
.catalogId("catalogId")
.columnNames(List.of("columnNames"))
.columnWildcard(ColumnWildcardProperty.builder()
.excludedColumnNames(List.of("excludedColumnNames"))
.build())
.databaseName("databaseName")
.name("name")
.build())
.build())
// the properties below are optional
.permissions(List.of("permissions"))
.permissionsWithGrantOption(List.of("permissionsWithGrantOption"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPermissionsProps.Builder
A builder for
CfnPermissionsProps |
static class |
CfnPermissionsProps.Jsii$Proxy
An implementation for
CfnPermissionsProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnPermissionsProps.Builder |
builder() |
Object |
getDataLakePrincipal()
The AWS Lake Formation principal.
|
default List<String> |
getPermissions()
The permissions granted or revoked.
|
default List<String> |
getPermissionsWithGrantOption()
Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
|
Object |
getResource()
A structure for the resource.
|
@Stability(value=Stable) @NotNull Object getDataLakePrincipal()
@Stability(value=Stable) @NotNull Object getResource()
@Stability(value=Stable) @Nullable default List<String> getPermissions()
@Stability(value=Stable) @Nullable default List<String> getPermissionsWithGrantOption()
@Stability(value=Stable) static CfnPermissionsProps.Builder builder()
CfnPermissionsProps.Builder of CfnPermissionsPropsCopyright © 2022. All rights reserved.