Interface CfnDevEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDevEndpointProps.Jsii$Proxy
CfnDevEndpoint
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.glue.*; Object arguments_; Object tags; CfnDevEndpointProps cfnDevEndpointProps = CfnDevEndpointProps.builder() .roleArn("roleArn") // the properties below are optional .arguments(arguments_) .endpointName("endpointName") .extraJarsS3Path("extraJarsS3Path") .extraPythonLibsS3Path("extraPythonLibsS3Path") .glueVersion("glueVersion") .numberOfNodes(123) .numberOfWorkers(123) .publicKey("publicKey") .publicKeys(List.of("publicKeys")) .securityConfiguration("securityConfiguration") .securityGroupIds(List.of("securityGroupIds")) .subnetId("subnetId") .tags(tags) .workerType("workerType") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDevEndpointProps
static final class
An implementation forCfnDevEndpointProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDevEndpointProps.Builder
builder()
default Object
A map of arguments used to configure theDevEndpoint
.default String
The name of theDevEndpoint
.default String
The path to one or more Java.jar
files in an S3 bucket that should be loaded in yourDevEndpoint
.default String
The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in yourDevEndpoint
.default String
The AWS Glue version determines the versions of Apache Spark and Python that AWS Glue supports.default Number
The number of AWS Glue Data Processing Units (DPUs) allocated to thisDevEndpoint
.default Number
The number of workers of a definedworkerType
that are allocated to the development endpoint.default String
The public key to be used by thisDevEndpoint
for authentication.A list of public keys to be used by theDevEndpoints
for authentication.The Amazon Resource Name (ARN) of the IAM role used in thisDevEndpoint
.default String
The name of theSecurityConfiguration
structure to be used with thisDevEndpoint
.A list of security group identifiers used in thisDevEndpoint
.default String
The subnet ID for thisDevEndpoint
.default Object
getTags()
The tags to use with this DevEndpoint.default String
The type of predefined worker that is allocated to the development endpoint.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRoleArn
The Amazon Resource Name (ARN) of the IAM role used in thisDevEndpoint
.- See Also:
-
getArguments
A map of arguments used to configure theDevEndpoint
.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 theCreateDevEndpoint
orUpdateDevEndpoint
APIs. If no arguments are provided, the version defaults to Python 2.- See Also:
-
getEndpointName
The name of theDevEndpoint
.- See Also:
-
getExtraJarsS3Path
The path to one or more Java.jar
files in an S3 bucket that should be loaded in yourDevEndpoint
.You can only use pure Java/Scala libraries with a
DevEndpoint
.- See Also:
-
getExtraPythonLibsS3Path
The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in yourDevEndpoint
.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.- See Also:
-
getGlueVersion
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 theCreateDevEndpoint
orUpdateDevEndpoint
APIs. If no arguments are provided, the version defaults to Python 2.- See Also:
-
getNumberOfNodes
The number of AWS Glue Data Processing Units (DPUs) allocated to thisDevEndpoint
.- See Also:
-
getNumberOfWorkers
The number of workers of a definedworkerType
that are allocated to the development endpoint.The maximum number of workers you can define are 299 for
G.1X
, and 149 forG.2X
.- See Also:
-
getPublicKey
The public key to be used by thisDevEndpoint
for authentication.This attribute is provided for backward compatibility because the recommended attribute to use is public keys.
- See Also:
-
getPublicKeys
A list of public keys to be used by theDevEndpoints
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.- See Also:
-
getSecurityConfiguration
The name of theSecurityConfiguration
structure to be used with thisDevEndpoint
.- See Also:
-
getSecurityGroupIds
A list of security group identifiers used in thisDevEndpoint
.- See Also:
-
getSubnetId
The subnet ID for thisDevEndpoint
.- See Also:
-
getTags
The tags to use with this DevEndpoint.- See Also:
-
getWorkerType
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.- See Also:
- For the
-
builder
- Returns:
- a
CfnDevEndpointProps.Builder
ofCfnDevEndpointProps
-