interface CfnTagProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.LakeFormation.CfnTagProps |
Java | software.amazon.awscdk.services.lakeformation.CfnTagProps |
Python | aws_cdk.aws_lakeformation.CfnTagProps |
TypeScript | @aws-cdk/aws-lakeformation » CfnTagProps |
Properties for defining a CfnTag.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lakeformation from '@aws-cdk/aws-lakeformation';
const cfnTagProps: lakeformation.CfnTagProps = {
tagKey: 'tagKey',
tagValues: ['tagValues'],
// the properties below are optional
catalogId: 'catalogId',
};
Properties
| Name | Type | Description |
|---|---|---|
| tag | string | UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . |
| tag | string[] | An array of UTF-8 strings, not less than 1 or more than 50 strings. |
| catalog | string | Catalog id string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . |
tagKey
Type:
string
UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .
The key-name for the LF-tag.
tagValues
Type:
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.
catalogId?
Type:
string
(optional)
Catalog id string, not less than 1 or more than 255 bytes long, matching the single-line string pattern .
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.

.NET
Java
Python
TypeScript