interface ResourceProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.LakeFormation.CfnPrincipalPermissions.ResourceProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslakeformation#CfnPrincipalPermissions_ResourceProperty |
![]() | software.amazon.awscdk.services.lakeformation.CfnPrincipalPermissions.ResourceProperty |
![]() | aws_cdk.aws_lakeformation.CfnPrincipalPermissions.ResourceProperty |
![]() | aws-cdk-lib » aws_lakeformation » CfnPrincipalPermissions » ResourceProperty |
A structure for the resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lakeformation as lakeformation } from 'aws-cdk-lib';
declare const catalog: any;
declare const tableWildcard: any;
const resourceProperty: lakeformation.CfnPrincipalPermissions.ResourceProperty = {
catalog: catalog,
database: {
catalogId: 'catalogId',
name: 'name',
},
dataCellsFilter: {
databaseName: 'databaseName',
name: 'name',
tableCatalogId: 'tableCatalogId',
tableName: 'tableName',
},
dataLocation: {
catalogId: 'catalogId',
resourceArn: 'resourceArn',
},
lfTag: {
catalogId: 'catalogId',
tagKey: 'tagKey',
tagValues: ['tagValues'],
},
lfTagPolicy: {
catalogId: 'catalogId',
expression: [{
tagKey: 'tagKey',
tagValues: ['tagValues'],
}],
resourceType: 'resourceType',
},
table: {
catalogId: 'catalogId',
databaseName: 'databaseName',
// the properties below are optional
name: 'name',
tableWildcard: tableWildcard,
},
tableWithColumns: {
catalogId: 'catalogId',
databaseName: 'databaseName',
name: 'name',
// the properties below are optional
columnNames: ['columnNames'],
columnWildcard: {
excludedColumnNames: ['excludedColumnNames'],
},
},
};
Properties
Name | Type | Description |
---|---|---|
catalog? | any | The identifier for the Data Catalog. |
data | IResolvable | Data | A data cell filter. |
data | IResolvable | Data | The location of an Amazon S3 path where permissions are granted or revoked. |
database? | IResolvable | Database | The database for the resource. |
lf | IResolvable | LFTag | The LF-tag key and values attached to a resource. |
lf | IResolvable | LFTag | A list of LF-tag conditions that define a resource's LF-tag policy. |
table? | IResolvable | Table | The table for the resource. |
table | IResolvable | Table | The table with columns for the resource. |
catalog?
Type:
any
(optional)
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.
dataCellsFilter?
Type:
IResolvable
|
Data
(optional)
A data cell filter.
dataLocation?
Type:
IResolvable
|
Data
(optional)
The location of an Amazon S3 path where permissions are granted or revoked.
database?
Type:
IResolvable
|
Database
(optional)
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.
lfTag?
Type:
IResolvable
|
LFTag
(optional)
The LF-tag key and values attached to a resource.
lfTagPolicy?
Type:
IResolvable
|
LFTag
(optional)
A list of LF-tag conditions that define a resource's LF-tag policy.
table?
Type:
IResolvable
|
Table
(optional)
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.
tableWithColumns?
Type:
IResolvable
|
Table
(optional)
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.