AWS::Glue::DevEndpointThe `AWS::Glue::DevEndpoint` resource specifies a development endpoint where a developer can remotely debug ETL scripts for AWS Glue . For more information, see [DevEndpoint Structure](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-dev-endpoint.html#aws-glue-api-jobs-dev-endpoint-DevEndpoint) in the AWS Glue Developer Guide.
import { CfnDevEndpoint } from 'aws-cdk-lib/aws-glue';Or use the module namespace:
import * as glue from 'aws-cdk-lib/aws-glue';
// glue.CfnDevEndpointConfiguration passed to the constructor as CfnDevEndpointProps.
roleArnRequiredstringThe Amazon Resource Name (ARN) of the IAM role used in this `DevEndpoint` .
argumentsOptionalanyA map of arguments used to configure the `DevEndpoint` . Valid arguments are: - `"--enable-glue-datacatalog": ""` - `"GLUE_PYTHON_VERSION": "3"` - `"GLUE_PYTHON_VERSION": "2"` You can specify a version of Python support for development endpoints by using the `Arguments` parameter in the `CreateDevEndpoint` or `UpdateDevEndpoint` APIs. If no arguments are provided, the version defaults to Python 2.
endpointNameOptionalstringThe name of the `DevEndpoint` .
extraJarsS3PathOptionalstringThe path to one or more Java `.jar` files in an S3 bucket that should be loaded in your `DevEndpoint` . > You can only use pure Java/Scala libraries with a `DevEndpoint` .
extraPythonLibsS3PathOptionalstringThe paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your `DevEndpoint` . Multiple values must be complete paths separated by a comma. > You can only use pure Python libraries with a `DevEndpoint` . Libraries that rely on C extensions, such as the [pandas](https://docs.aws.amazon.com/http://pandas.pydata.org/) Python data analysis library, are not currently supported.
glueVersionOptionalstringThe AWS Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints. For more information about the available AWS Glue versions and corresponding Spark and Python versions, see [Glue version](https://docs.aws.amazon.com/glue/latest/dg/add-job.html) in the developer guide. Development endpoints that are created without specifying a Glue version default to Glue 0.9. You can specify a version of Python support for development endpoints by using the `Arguments` parameter in the `CreateDevEndpoint` or `UpdateDevEndpoint` APIs. If no arguments are provided, the version defaults to Python 2.
numberOfNodesOptionalnumberThe number of AWS Glue Data Processing Units (DPUs) allocated to this `DevEndpoint` .
numberOfWorkersOptionalnumberThe number of workers of a defined `workerType` that are allocated to the development endpoint. The maximum number of workers you can define are 299 for `G.1X` , and 149 for `G.2X` .
publicKeyOptionalstringThe public key to be used by this `DevEndpoint` for authentication. This attribute is provided for backward compatibility because the recommended attribute to use is public keys.
publicKeysOptionalstring[]A list of public keys to be used by the `DevEndpoints` for authentication. Using this attribute is preferred over a single public key because the public keys allow you to have a different private key per client. > If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys. Call the `UpdateDevEndpoint` API operation with the public key content in the `deletePublicKeys` attribute, and the list of new keys in the `addPublicKeys` attribute.
securityConfigurationOptionalstringThe name of the `SecurityConfiguration` structure to be used with this `DevEndpoint` .
securityGroupIdsOptionalstring[]A list of security group identifiers used in this `DevEndpoint` .
subnetIdOptionalstringThe subnet ID for this `DevEndpoint` .
tagsOptionalanyThe tags to use with this DevEndpoint.
workerTypeOptionalstringThe type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X. - For the `Standard` worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. - For the `G.1X` worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. - For the `G.2X` worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. Known issue: when a development endpoint is created with the `G.2X` `WorkerType` configuration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-glueAWS::Glue::DevEndpoint