interface CfnDevEndpointProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Glue.CfnDevEndpointProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnDevEndpointProps |
Java | software.amazon.awscdk.services.glue.CfnDevEndpointProps |
Python | aws_cdk.aws_glue.CfnDevEndpointProps |
TypeScript | aws-cdk-lib » aws_glue » CfnDevEndpointProps |
Properties for defining a CfnDevEndpoint
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
declare const arguments_: any;
declare const tags: any;
const cfnDevEndpointProps: glue.CfnDevEndpointProps = {
roleArn: 'roleArn',
// the properties below are optional
arguments: arguments_,
endpointName: 'endpointName',
extraJarsS3Path: 'extraJarsS3Path',
extraPythonLibsS3Path: 'extraPythonLibsS3Path',
glueVersion: 'glueVersion',
numberOfNodes: 123,
numberOfWorkers: 123,
publicKey: 'publicKey',
publicKeys: ['publicKeys'],
securityConfiguration: 'securityConfiguration',
securityGroupIds: ['securityGroupIds'],
subnetId: 'subnetId',
tags: tags,
workerType: 'workerType',
};
Properties
Name | Type | Description |
---|---|---|
role | string | The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint . |
arguments? | any | A map of arguments used to configure the DevEndpoint . |
endpoint | string | The name of the DevEndpoint . |
extra | string | The path to one or more Java .jar files in an S3 bucket that should be loaded in your DevEndpoint . |
extra | string | The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your DevEndpoint . |
glue | string | The AWS Glue version determines the versions of Apache Spark and Python that AWS Glue supports. |
number | number | The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint . |
number | number | The number of workers of a defined workerType that are allocated to the development endpoint. |
public | string | The public key to be used by this DevEndpoint for authentication. |
public | string[] | A list of public keys to be used by the DevEndpoints for authentication. |
security | string | The name of the SecurityConfiguration structure to be used with this DevEndpoint . |
security | string[] | A list of security group identifiers used in this DevEndpoint . |
subnet | string | The subnet ID for this DevEndpoint . |
tags? | any | The tags to use with this DevEndpoint. |
worker | string | The type of predefined worker that is allocated to the development endpoint. |
roleArn
Type:
string
The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint
.
arguments?
Type:
any
(optional)
A 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.
endpointName?
Type:
string
(optional)
The name of the DevEndpoint
.
extraJarsS3Path?
Type:
string
(optional)
The 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
.
extraPythonLibsS3Path?
Type:
string
(optional)
The 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 Python data analysis library, are not currently supported.
glueVersion?
Type:
string
(optional)
The 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 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.
numberOfNodes?
Type:
number
(optional)
The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint
.
numberOfWorkers?
Type:
number
(optional)
The 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
.
publicKey?
Type:
string
(optional)
The 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.
publicKeys?
Type:
string[]
(optional)
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 thedeletePublicKeys
attribute, and the list of new keys in theaddPublicKeys
attribute.
securityConfiguration?
Type:
string
(optional)
The name of the SecurityConfiguration
structure to be used with this DevEndpoint
.
securityGroupIds?
Type:
string[]
(optional)
A list of security group identifiers used in this DevEndpoint
.
subnetId?
Type:
string
(optional)
The subnet ID for this DevEndpoint
.
tags?
Type:
any
(optional)
The tags to use with this DevEndpoint.
workerType?
Type:
string
(optional)
The 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.