Menu
AWS Glue
Developer Guide

AWS Glue API Permissions: Actions, Resources, and Conditions 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.

Note

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

Related Topics

On this page: