aws-cdk-lib.aws_lakeformation.CfnTagAssociation.ResourceProperty

interface ResourceProperty

LanguageType name
.NETAmazon.CDK.AWS.LakeFormation.CfnTagAssociation.ResourceProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslakeformation#CfnTagAssociation_ResourceProperty
Javasoftware.amazon.awscdk.services.lakeformation.CfnTagAssociation.ResourceProperty
Pythonaws_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

NameTypeDescription
catalog?anyThe identifier for the Data Catalog.
database?IResolvable | DatabaseResourcePropertyThe database for the resource.
table?IResolvable | TableResourcePropertyThe table for the resource.
tableWithColumns?IResolvable | TableWithColumnsResourcePropertyThe 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 | DatabaseResourceProperty (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 | TableResourceProperty (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 | TableWithColumnsResourceProperty (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.