Skip to content

LFTag

Source: src/AWS/LakeFormation/LFTag.ts

A Lake Formation LF-tag definition — a key with a list of allowed values used for tag-based access control (attach values to databases/tables with AWS.LakeFormation.LFTagAssociation, grant on expressions with AWS.LakeFormation.Permissions).

Creating LF-tags requires the caller to be a data lake administrator — see AWS.LakeFormation.DataLakeSettings.

import * as AWS from "alchemy/AWS";
const envTag = yield* AWS.LakeFormation.LFTag("EnvTag", {
tagKey: "environment",
tagValues: ["dev", "staging", "prod"],
});