@Stability(value=Stable) public static final class CfnDevEndpoint.Builder extends Object implements software.amazon.jsii.Builder<CfnDevEndpoint>
CfnDevEndpoint.| Modifier and Type | Method and Description |
|---|---|
CfnDevEndpoint.Builder |
arguments(Object arguments)
A map of arguments used to configure the `DevEndpoint` .
|
CfnDevEndpoint |
build() |
static CfnDevEndpoint.Builder |
create(software.constructs.Construct scope,
String id) |
CfnDevEndpoint.Builder |
endpointName(String endpointName)
The name of the `DevEndpoint` .
|
CfnDevEndpoint.Builder |
extraJarsS3Path(String extraJarsS3Path)
The path to one or more Java `.jar` files in an S3 bucket that should be loaded in your `DevEndpoint` .
|
CfnDevEndpoint.Builder |
extraPythonLibsS3Path(String extraPythonLibsS3Path)
The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your `DevEndpoint` .
|
CfnDevEndpoint.Builder |
glueVersion(String glueVersion)
The AWS Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
|
CfnDevEndpoint.Builder |
numberOfNodes(Number numberOfNodes)
The number of AWS Glue Data Processing Units (DPUs) allocated to this `DevEndpoint` .
|
CfnDevEndpoint.Builder |
numberOfWorkers(Number numberOfWorkers)
The number of workers of a defined `workerType` that are allocated to the development endpoint.
|
CfnDevEndpoint.Builder |
publicKey(String publicKey)
The public key to be used by this `DevEndpoint` for authentication.
|
CfnDevEndpoint.Builder |
publicKeys(List<String> publicKeys)
A list of public keys to be used by the `DevEndpoints` for authentication.
|
CfnDevEndpoint.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role used in this `DevEndpoint` .
|
CfnDevEndpoint.Builder |
securityConfiguration(String securityConfiguration)
The name of the `SecurityConfiguration` structure to be used with this `DevEndpoint` .
|
CfnDevEndpoint.Builder |
securityGroupIds(List<String> securityGroupIds)
A list of security group identifiers used in this `DevEndpoint` .
|
CfnDevEndpoint.Builder |
subnetId(String subnetId)
The subnet ID for this `DevEndpoint` .
|
CfnDevEndpoint.Builder |
tags(Object tags)
The tags to use with this DevEndpoint.
|
CfnDevEndpoint.Builder |
workerType(String workerType)
The type of predefined worker that is allocated to the development endpoint.
|
@Stability(value=Stable) public static CfnDevEndpoint.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnDevEndpoint.Builder.@Stability(value=Stable) public CfnDevEndpoint.Builder roleArn(String roleArn)
roleArn - The Amazon Resource Name (ARN) of the IAM role used in this `DevEndpoint` . This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint.Builder arguments(Object arguments)
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.
arguments - A map of arguments used to configure the `DevEndpoint` . This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint.Builder endpointName(String endpointName)
endpointName - The name of the `DevEndpoint` . This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint.Builder extraJarsS3Path(String extraJarsS3Path)
You can only use pure Java/Scala libraries with a
DevEndpoint.
extraJarsS3Path - The path to one or more Java `.jar` files in an S3 bucket that should be loaded in your `DevEndpoint` . This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint.Builder extraPythonLibsS3Path(String extraPythonLibsS3Path)
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.
extraPythonLibsS3Path - The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your `DevEndpoint` . This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint.Builder glueVersion(String glueVersion)
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.
glueVersion - The AWS Glue version determines the versions of Apache Spark and Python that AWS Glue supports. This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint.Builder numberOfNodes(Number numberOfNodes)
numberOfNodes - The number of AWS Glue Data Processing Units (DPUs) allocated to this `DevEndpoint` . This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint.Builder numberOfWorkers(Number numberOfWorkers)
The maximum number of workers you can define are 299 for G.1X , and 149 for G.2X .
numberOfWorkers - The number of workers of a defined `workerType` that are allocated to the development endpoint. This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint.Builder publicKey(String publicKey)
This attribute is provided for backward compatibility because the recommended attribute to use is public keys.
publicKey - The public key to be used by this `DevEndpoint` for authentication. This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint.Builder publicKeys(List<String> publicKeys)
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
UpdateDevEndpointAPI operation with the public key content in thedeletePublicKeysattribute, and the list of new keys in theaddPublicKeysattribute.
publicKeys - A list of public keys to be used by the `DevEndpoints` for authentication. This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint.Builder securityConfiguration(String securityConfiguration)
securityConfiguration - The name of the `SecurityConfiguration` structure to be used with this `DevEndpoint` . This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint.Builder securityGroupIds(List<String> securityGroupIds)
securityGroupIds - A list of security group identifiers used in this `DevEndpoint` . This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint.Builder subnetId(String subnetId)
subnetId - The subnet ID for this `DevEndpoint` . This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint.Builder tags(Object tags)
tags - The tags to use with this DevEndpoint. This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint.Builder workerType(String workerType)
Accepts a value of Standard, G.1X, or G.2X.
Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.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.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.
workerType - The type of predefined worker that is allocated to the development endpoint. This parameter is required.this@Stability(value=Stable) public CfnDevEndpoint build()
build in interface software.amazon.jsii.Builder<CfnDevEndpoint>Copyright © 2022. All rights reserved.