Adding a development endpoint
Use development endpoints to iteratively develop and test your extract, transform, and load (ETL) scripts in Amazon Glue. Working with development endpoints is only available through the Amazon Command Line Interface.
-
In a command line window, enter a command similar to the following.
aws glue create-dev-endpoint --endpoint-name "endpoint1" --role-arn "arn:aws-cn:iam::
account-id
:role/role-name
" --number-of-nodes "3" --glue-version "1.0" --arguments '{"GLUE_PYTHON_VERSION": "3"}' --region "region-name
"This command specifies Amazon Glue version 1.0. Because this version supports both Python 2 and Python 3, you can use the
arguments
parameter to indicate the desired Python version. If theglue-version
parameter is omitted, Amazon Glue version 0.9 is assumed. For more information about Amazon Glue versions, see the Glue version job property.For information about additional command line parameters, see create-dev-endpoint in the Amazon CLI Command Reference.
-
(Optional) Enter the following command to check the development endpoint status. When the status changes to
READY
, the development endpoint is ready to use.aws glue get-dev-endpoint --endpoint-name "endpoint1"