glue:BatchDeleteTableVersion

Write

glue:BatchDeleteTableVersion is a Write access-level action in the glue service. Grants permission to delete one or more versions of a table

Resource types

ARNs that glue:BatchDeleteTableVersion 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:BatchDeleteTableVersion.

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in glue

View all glue actions →