interface ResourceProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.LakeFormation.CfnTagAssociation.ResourceProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslakeformation#CfnTagAssociation_ResourceProperty |
Java | software.amazon.awscdk.services.lakeformation.CfnTagAssociation.ResourceProperty |
Python | aws_cdk.aws_lakeformation.CfnTagAssociation.ResourceProperty |
TypeScript | aws-cdk-lib » aws_lakeformation » CfnTagAssociation » 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.CfnTagAssociation.ResourceProperty = {
catalog: catalog,
database: {
catalogId: 'catalogId',
name: 'name',
},
table: {
catalogId: 'catalogId',
databaseName: 'databaseName',
// the properties below are optional
name: 'name',
tableWildcard: tableWildcard,
},
tableWithColumns: {
catalogId: 'catalogId',
columnNames: ['columnNames'],
databaseName: 'databaseName',
name: 'name',
},
};
Properties
Name | Type | Description |
---|---|---|
catalog? | any | The identifier for the Data Catalog. |
database? | IResolvable | Database | The database for the resource. |
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.
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.
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.