AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::LakeFormation::Tag

CfnTag

The `AWS::LakeFormation::Tag` resource represents an LF-tag, which consists of a key and one or more possible values for the key. During a stack operation, AWS CloudFormation calls the AWS Lake Formation `CreateLFTag` API to create a tag, and `UpdateLFTag` API to update a tag resource, and a `DeleteLFTag` to delete it.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnTagProps.

tagKeyRequired
string

UTF-8 string, not less than 1 or more than 255 bytes long, matching the [single-line string pattern](https://docs.aws.amazon.com/lake-formation/latest/dg/aws-lake-formation-api-aws-lake-formation-api-common.html) . The key-name for the LF-tag.

tagValuesRequired
string[]

An array of UTF-8 strings, not less than 1 or more than 50 strings. A list of possible values of the corresponding `TagKey` of an LF-tag key-value pair.

catalogIdOptional
string

Catalog id string, not less than 1 or more than 255 bytes long, matching the [single-line string pattern](https://docs.aws.amazon.com/lake-formation/latest/dg/aws-lake-formation-api-aws-lake-formation-api-common.html) . 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.

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