You can delete LF-Tag expressions that are no longer in use. If you have granted permissions to principals on Data Catalog resources using the LF-Tag expression, they will no longer have the permissions.
Only data lake administrators, the LF-Tag expression creator, or a principal with
Drop
permission on the LF-Tag expression can delete an LF-Tag
expression. In addition to the Drop
permission, the principal also needs
lakeformation:DeleteLFTagExpression
IAM permission to delete an
LF-Tag expression.
You can delete an LF-Tag expression by using the AWS Lake Formation console, the API, or the AWS Command Line Interface (AWS CLI).
To delete an LF-Tag expression (console)
-
Open the Lake Formation console at https://console.aws.amazon.com/lakeformation/
. Sign in as a data lake administrator, the LF-Tag expression creator, or a principal that has permissions to delete the expression.
-
In the navigation pane, under Permissions, choose LF-Tags and permissions.
Choose the LF-Tag expression tab.
-
On the LF-Tag expressions section, select an LF-Tag expression, and then choose Delete.
-
In the Delete LF-Tag expression? dialog box, to confirm the deletion, enter the LF-Tag expression name in the designated field and then choose Delete.