athena:ListTableMetadata

Read

athena:ListTableMetadata is a Read access-level action in the athena service. Grants permission to return a list of table metadata in a database for a given datacatalog

Resource types

ARNs that athena:ListTableMetadata can be scoped to in an IAM policy.

arn:${Partition}:athena:${Region}:${Account}:datacatalog/${DataCatalogName}
datacatalog

Condition keys

Keys you can use in the Condition block of a policy that grants athena:ListTableMetadata.

aws:ResourceTag/${TagKey} String

Filters access by the tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows athena:ListTableMetadata. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAthenaListTableMetadata",
      "Effect": "Allow",
      "Action": "athena:ListTableMetadata",
      "Resource": "*"
    }
  ]
}

Related actions in athena

View all athena actions →