glue:CreateTableOptimizer

Write

glue:CreateTableOptimizer is a Write access-level action in the glue service. Grants permission to create a new table optimizer for a specific function. Compaction is the only currently supported optimizer type

Resource types

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

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Dependent actions

To use glue:CreateTableOptimizer you may also need to grant:

Example IAM policy

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

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

Related actions in glue

View all glue actions →