Skip to content

GetResourceLFTags

Source: src/AWS/LakeFormation/GetResourceLFTags.ts

Runtime binding for lakeformation:GetResourceLFTags.

Reads the LF-tags attached to a Data Catalog resource (database, table, or columns) — lets a function make tag-driven decisions about the data it touches. Provide the implementation with Effect.provide(AWS.LakeFormation.GetResourceLFTagsHttp).

// init — account-level binding takes no resource
const getResourceLFTags = yield* AWS.LakeFormation.GetResourceLFTags();
// runtime
const { LFTagOnDatabase } = yield* getResourceLFTags({
Resource: { Database: { Name: database.databaseName } },
});