glue:GetTables

Read

glue:GetTables is a Read access-level action in the glue service. Grants permission to retrieve the tables in a database

Resource types

ARNs that glue:GetTables can be scoped to in an IAM policy.

arn:${Partition}:glue:${Region}:${Account}:database/${DatabaseName}
database
arn:${Partition}:glue:${Region}:${Account}:catalog
rootcatalog
arn:${Partition}:glue:${Region}:${Account}:table/${DatabaseName}/${TableName}
table
arn:${Partition}:glue:${Region}:${Account}:catalog/${CatalogName}
catalog

Condition keys

Keys you can use in the Condition block of a policy that grants glue:GetTables.

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowGlueGetTables",
      "Effect": "Allow",
      "Action": "glue:GetTables",
      "Resource": "*"
    }
  ]
}

Related actions in glue

View all glue actions →