AWS Glue
Developer Guide

AWS Glue API Permissions: Actions and Resources Reference

When you are setting up Access Control and writing a permissions policy that you can attach to an IAM identity (identity-based policies), you can use the following table as a reference. The table lists each AWS Glue API operation, the corresponding actions for which you can grant permissions to perform the action, and the AWS resource for which you can grant the permissions. You specify the actions in the policy's Action field, and you specify the resource value in the policy's Resource field.

You can use AWS-wide condition keys in your AWS Glue policies to express conditions. For a complete list of AWS-wide keys, see Available Keys in the IAM User Guide.


To specify an action, use the glue: prefix followed by the API operation name (for example, glue:GetTable).

If you see an expand arrow () in the upper-right corner of the table, you can open the table in a new window. To close the window, choose the close button (X) in the lower-right corner.

AWS Glue API and Required Permissions for Actions

AWS Glue API Operations Required Permissions (API Actions) Resources
BatchCreatePartition Action (Python: batch_create_partition) glue:BatchCreatePartition *
BatchDeleteConnection Action (Python: batch_delete_connection) glue:BatchDeleteConnection *
BatchDeletePartition Action (Python: batch_delete_partition) glue:BatchDeletePartition *
BatchDeleteTable Action (Python: batch_delete_table) glue:BatchDeleteTable *
BatchGetPartition Action (Python: batch_get_partition) glue:BatchGetPartition *
BatchStopJobRun Action (Python: batch_stop_job_run) glue:BatchStopJobRun *
CreateClassifier Action (Python: create_classifier) glue:CreateClassifier *
CreateConnection Action (Python: create_connection) glue:CreateConnection *
CreateCrawler Action (Python: create_crawler) glue:CreateCrawler *
CreateDatabase Action (Python: create_database) glue:CreateDatabase *
CreateDevEndpoint Action (Python: create_dev_endpoint) glue:CreateDevEndpoint *
CreateJob Action (Python: create_job) glue:CreateJob *
CreatePartition Action (Python: create_partition) glue:CreatePartition *
CreateScript Action (Python: create_script) glue:CreateScript *
CreateTable Action (Python: create_table) glue:CreateTable *
CreateTrigger Action (Python: create_trigger) glue:CreateTrigger *
CreateUserDefinedFunction Action (Python: create_user_defined_function) glue:CreateUserDefinedFunction *
DeleteClassifier Action (Python: delete_classifier) glue:DeleteClassifier *
DeleteConnection Action (Python: delete_connection) glue:DeleteConnection *
DeleteCrawler Action (Python: delete_crawler) glue:DeleteCrawler *
DeleteDatabase Action (Python: delete_database) glue:DeleteDatabase *
DeleteDevEndpoint Action (Python: delete_dev_endpoint) glue:DeleteDevEndpoint *
DeleteJob Action (Python: delete_job) glue:DeleteJob *
DeletePartition Action (Python: delete_partition) glue:DeletePartition *
DeleteTable Action (Python: delete_table) glue:DeleteTable *
DeleteTrigger Action (Python: delete_trigger) glue:DeleteTrigger *
DeleteUserDefinedFunction Action (Python: delete_user_defined_function) glue:DeleteUserDefinedFunction *
GetCatalogImportStatus Action (Python: get_catalog_import_status) glue:GetCatalogImportStatus *
GetClassifier Action (Python: get_classifier) glue:GetClassifier *
GetClassifiers Action (Python: get_classifiers) glue:GetClassifiers *
GetConnection Action (Python: get_connection) glue:GetConnection *
GetConnections Action (Python: get_connections) glue:GetConnections *
GetCrawler Action (Python: get_crawler) glue:GetCrawler *
GetCrawlerMetrics Action (Python: get_crawler_metrics) glue:GetCrawlerMetrics *
GetCrawlers Action (Python: get_crawlers) glue:GetCrawlers *
GetDatabase Action (Python: get_database) glue:GetDatabase *
GetDatabases Action (Python: get_databases) glue:GetDatabases *
GetDataflowGraph Action (Python: get_dataflow_graph) glue:GetDataflowGraph *
GetDevEndpoint Action (Python: get_dev_endpoint) glue:GetDevEndpoint *
GetDevEndpoints Action (Python: get_dev_endpoints) glue:GetDevEndpoints *
GetJob Action (Python: get_job) glue:GetJob *
GetJobRun Action (Python: get_job_run) glue:GetJobRun *
GetJobRuns Action (Python: get_job_runs) glue:GetJobRuns *
GetJobs Action (Python: get_jobs) glue:GetJobs *
GetMapping Action (Python: get_mapping) glue:GetMapping *
GetPartition Action (Python: get_partition) glue:GetPartition *
GetPartitions Action (Python: get_partitions) glue:GetPartitions *
GetTable Action (Python: get_table) glue:GetTable *
GetTables Action (Python: get_tables) glue:GetTables *
GetTableVersions Action (Python: get_table_versions) glue:GetTableVersions *
GetTrigger Action (Python: get_trigger) glue:GetTrigger *
GetTriggers Action (Python: get_triggers) glue:GetTriggers *
GetUserDefinedFunction Action (Python: get_user_defined_function) glue:GetUserDefinedFunction *
GetUserDefinedFunctions Action (Python: get_user_defined_functions) glue:GetUserDefinedFunctions *
ImportCatalogToGlue Action (Python: import_catalog_to_glue) glue:ImportCatalogToGlue *
ResetJobBookmark Action (Python: reset_job_bookmark) glue:ResetJobBookmark *
StartCrawler Action (Python: start_crawler) glue:StartCrawler *
StartCrawlerSchedule Action (Python: start_crawler_schedule) glue:StartCrawlerSchedule *
StartJobRun Action (Python: start_job_run) glue:StartJobRun *
StartTrigger Action (Python: start_trigger) glue:StartTrigger *
StopCrawler Action (Python: stop_crawler) glue:StopCrawler *
StopCrawlerSchedule Action (Python: stop_crawler_schedule) glue:StopCrawlerSchedule *
StopTrigger Action (Python: stop_trigger) glue:StopTrigger *
UpdateClassifier Action (Python: update_classifier) glue:UpdateClassifier *
UpdateConnection Action (Python: update_connection) glue:UpdateConnection *
UpdateCrawler Action (Python: update_crawler) glue:UpdateCrawler *
UpdateCrawlerSchedule Action (Python: update_crawler_schedule) glue:UpdateCrawlerSchedule *
UpdateDatabase Action (Python: update_database) glue:UpdateDatabase *
UpdateDevEndpoint Action (Python: update_dev_endpoint) glue:UpdateDevEndpoint *
UpdateJob Action (Python: update_job) glue:UpdateJob *
UpdatePartition Action (Python: update_partition) glue:UpdatePartition *
UpdateTable Action (Python: update_table) glue:UpdateTable *
UpdateTrigger Action (Python: update_trigger) glue:UpdateTrigger *
UpdateUserDefinedFunction Action (Python: update_user_defined_function) glue:UpdatateUserDefinedFunction *

Related Topics

On this page: