Creating LF-Tags - AWS Lake Formation

Creating LF-Tags

All LF-tags must be defined in Lake Formation before they can be used. A LF-tag consists of a key and one or more possible values for the key. Only data lake administrators can create LF-tags.

You can create LF-tags by using the AWS Lake Formation console, the API, or the AWS Command Line Interface (AWS CLI).

Console
To create a LF-tag
  1. Open the Lake Formation console at https://console.aws.amazon.com/lakeformation/.

    Sign in as a data lake administrator.

  2. In the navigation pane, under Permissions, choose LF-Tags.

    The LF-Tags page appears.

    
                  The page has a 3-column table with column headings Key, Values, and Owner
                    account ID. The table has 3 rows. Above the table are 4 buttons arranged
                    horizontally: Reload page, Delete (dimmed), Edit (dimmed), and Add tag. The page
                    also has a search field with the placeholder text "Find tag". To the right of
                    the search field is a page selector, showing the value "1" between left and
                    right buttons, and a Settings icon.
  3. Choose Add tag.

  4. In the Add LF-Tag dialog box, enter a key and one or more values.

    Each key must have at least one value. To enter multiple values, either enter a comma-delimited list and then press Enter, or enter one value at a time and choose Add after each one. The maximum number of values permitted is 1000.

  5. Choose Add tag.

AWS CLI
To create a LF-tag
  • Enter a create-lf-tag command.

    The following example creates a LF-tag with key module and values Customers and Orders.

    aws lakeformation create-lf-tag --tag-key module --tag-values Customers Orders