@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.362Z") @Stability(value=Stable) public interface CfnPrincipalPermissionsProps 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.*;
Object catalog;
Object tableWildcard;
CfnPrincipalPermissionsProps cfnPrincipalPermissionsProps = CfnPrincipalPermissionsProps.builder()
.permissions(List.of("permissions"))
.permissionsWithGrantOption(List.of("permissionsWithGrantOption"))
.principal(DataLakePrincipalProperty.builder()
.dataLakePrincipalIdentifier("dataLakePrincipalIdentifier")
.build())
.resource(ResourceProperty.builder()
.catalog(catalog)
.database(DatabaseResourceProperty.builder()
.catalogId("catalogId")
.name("name")
.build())
.dataCellsFilter(DataCellsFilterResourceProperty.builder()
.databaseName("databaseName")
.name("name")
.tableCatalogId("tableCatalogId")
.tableName("tableName")
.build())
.dataLocation(DataLocationResourceProperty.builder()
.catalogId("catalogId")
.resourceArn("resourceArn")
.build())
.lfTag(LFTagKeyResourceProperty.builder()
.catalogId("catalogId")
.tagKey("tagKey")
.tagValues(List.of("tagValues"))
.build())
.lfTagPolicy(LFTagPolicyResourceProperty.builder()
.catalogId("catalogId")
.expression(List.of(LFTagProperty.builder()
.tagKey("tagKey")
.tagValues(List.of("tagValues"))
.build()))
.resourceType("resourceType")
.build())
.table(TableResourceProperty.builder()
.catalogId("catalogId")
.databaseName("databaseName")
// the properties below are optional
.name("name")
.tableWildcard(tableWildcard)
.build())
.tableWithColumns(TableWithColumnsResourceProperty.builder()
.catalogId("catalogId")
.databaseName("databaseName")
.name("name")
// the properties below are optional
.columnNames(List.of("columnNames"))
.columnWildcard(ColumnWildcardProperty.builder()
.excludedColumnNames(List.of("excludedColumnNames"))
.build())
.build())
.build())
// the properties below are optional
.catalog("catalog")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPrincipalPermissionsProps.Builder
A builder for
CfnPrincipalPermissionsProps |
static class |
CfnPrincipalPermissionsProps.Jsii$Proxy
An implementation for
CfnPrincipalPermissionsProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnPrincipalPermissionsProps.Builder |
builder() |
default String |
getCatalog()
`AWS::LakeFormation::PrincipalPermissions.Catalog`.
|
List<String> |
getPermissions()
`AWS::LakeFormation::PrincipalPermissions.Permissions`.
|
List<String> |
getPermissionsWithGrantOption()
`AWS::LakeFormation::PrincipalPermissions.PermissionsWithGrantOption`.
|
Object |
getPrincipal()
`AWS::LakeFormation::PrincipalPermissions.Principal`.
|
Object |
getResource()
`AWS::LakeFormation::PrincipalPermissions.Resource`.
|
@Stability(value=Stable) @NotNull List<String> getPermissions()
@Stability(value=Stable) @NotNull List<String> getPermissionsWithGrantOption()
@Stability(value=Stable) @NotNull Object getPrincipal()
@Stability(value=Stable) @NotNull Object getResource()
@Stability(value=Stable) @Nullable default String getCatalog()
@Stability(value=Stable) static CfnPrincipalPermissionsProps.Builder builder()
Copyright © 2022. All rights reserved.