aws-cdk-lib.aws_lakeformation.CfnTagAssociationProps

interface CfnTagAssociationProps

LanguageType name
.NETAmazon.CDK.AWS.LakeFormation.CfnTagAssociationProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslakeformation#CfnTagAssociationProps
Javasoftware.amazon.awscdk.services.lakeformation.CfnTagAssociationProps
Pythonaws_cdk.aws_lakeformation.CfnTagAssociationProps
TypeScript aws-cdk-lib » aws_lakeformation » CfnTagAssociationProps

Properties for defining a CfnTagAssociation.

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 cfnTagAssociationProps: lakeformation.CfnTagAssociationProps = {
  lfTags: [{
    catalogId: 'catalogId',
    tagKey: 'tagKey',
    tagValues: ['tagValues'],
  }],
  resource: {
    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
lfTagsIResolvable | IResolvable | LFTagPairProperty[]A structure containing an LF-tag key-value pair.
resourceIResolvable | ResourcePropertyUTF-8 string (valid values: `DATABASETABLE` ).

lfTags

Type: IResolvable | IResolvable | LFTagPairProperty[]

A structure containing an LF-tag key-value pair.


resource

Type: IResolvable | ResourceProperty

UTF-8 string (valid values: DATABASE | TABLE ).

The resource for which the LF-tag policy applies.