Interface CfnPrincipalPermissions.ResourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPrincipalPermissions.ResourceProperty.Jsii$Proxy
- Enclosing class:
CfnPrincipalPermissions
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;
ResourceProperty resourceProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPrincipalPermissions.ResourcePropertystatic final classAn implementation forCfnPrincipalPermissions.ResourceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe identifier for the Data Catalog.default ObjectThe database for the resource.default ObjectA data cell filter.default ObjectThe location of an Amazon S3 path where permissions are granted or revoked.default ObjectgetLfTag()The LF-tag key and values attached to a resource.default ObjectA list of LF-tag conditions that define a resource's LF-tag policy.default ObjectgetTable()The table for the resource.default ObjectThe table with columns for the resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCatalog
The identifier for the Data Catalog.By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
- See Also:
-
getDatabase
The database for the resource.Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
Returns union: either
IResolvableorCfnPrincipalPermissions.DatabaseResourceProperty- See Also:
-
getDataCellsFilter
A data cell filter.Returns union: either
IResolvableorCfnPrincipalPermissions.DataCellsFilterResourceProperty- See Also:
-
getDataLocation
The location of an Amazon S3 path where permissions are granted or revoked.Returns union: either
IResolvableorCfnPrincipalPermissions.DataLocationResourceProperty- See Also:
-
getLfTag
The LF-tag key and values attached to a resource.Returns union: either
IResolvableorCfnPrincipalPermissions.LFTagKeyResourceProperty- See Also:
-
getLfTagPolicy
A list of LF-tag conditions that define a resource's LF-tag policy.Returns union: either
IResolvableorCfnPrincipalPermissions.LFTagPolicyResourceProperty- See Also:
-
getTable
The table for the resource.A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
Returns union: either
IResolvableorCfnPrincipalPermissions.TableResourceProperty- See Also:
-
getTableWithColumns
The table with columns for the resource.A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.
Returns union: either
IResolvableorCfnPrincipalPermissions.TableWithColumnsResourceProperty- See Also:
-
builder
-