AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::LakeFormation::TagAssociation

CfnTagAssociation

The `AWS::LakeFormation::TagAssociation` resource represents an assignment of an LF-tag to a Data Catalog resource (database, table, or column). During a stack operation, CloudFormation calls AWS Lake Formation `AddLFTagsToResource` API to create a `TagAssociation` resource and calls the `RemoveLFTagsToResource` API to delete it.

Import

import { CfnTagAssociation } from 'aws-cdk-lib/aws-lakeformation';

Or use the module namespace:

import * as lakeformation from 'aws-cdk-lib/aws-lakeformation';
// lakeformation.CfnTagAssociation

Properties

Configuration passed to the constructor as CfnTagAssociationProps.

lfTagsRequired
IResolvable | IResolvable | LFTagPairProperty[]

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

resourceRequired
IResolvable | ResourceProperty

UTF-8 string (valid values: `DATABASE | TABLE` ). The resource for which the LF-tag policy applies.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter