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}:catalog/${CatalogName}
catalog
arn:${Partition}:glue:${Region}:${Account}:database/${DatabaseName} required
database
arn:${Partition}:glue:${Region}:${Account}:catalog required
rootcatalog
arn:${Partition}:glue:${Region}:${Account}:table/${DatabaseName}/${TableName} required
table

Condition keys

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

glue:FederatedAuthorizationSource String

Filters access by whether the resource belongs to federated authorization

glue:LakeFormationPermissions String

Filters access by whether Lake Formation permission checks will be performed for a given caller and the Glue resource

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 →