create_dev_endpoint
async
¶
create_dev_endpoint(
endpoint_name: GenericString,
role_arn: RoleArn,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
security_group_ids: Optional[StringList] = None,
subnet_id: Optional[GenericString] = None,
public_key: Optional[GenericString] = None,
public_keys: Optional[PublicKeysList] = None,
number_of_nodes: Optional[IntegerValue] = None,
worker_type: Optional[WorkerType] = None,
glue_version: Optional[GlueVersionString] = None,
number_of_workers: Optional[NullableInteger] = None,
extra_python_libs_s3_path: Optional[GenericString] = None,
extra_jars_s3_path: Optional[GenericString] = None,
security_configuration: Optional[NameString] = None,
tags: Optional[TagsMap] = None,
arguments: Optional[MapValue] = None,
) -> CreateDevEndpointResponse
Creates a new development endpoint.
Parameters:
-
endpoint_name(GenericString) –The name to be assigned to the new
DevEndpoint. -
role_arn(RoleArn) –The IAM role for the
DevEndpoint. -
security_group_ids(Optional[StringList], default:None) –Security group IDs for the security groups to be used by the new
DevEndpoint. -
subnet_id(Optional[GenericString], default:None) –The subnet ID for the new
DevEndpointto use. -
public_key(Optional[GenericString], default:None) –The public key to be used by this
DevEndpointfor authentication. This attribute is provided for backward compatibility because the recommended attribute to use is public keys. -
public_keys(Optional[PublicKeysList], default:None) –A list of public keys to be used by the development endpoints for authentication. The use of 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 with the public key content in thedeletePublicKeysattribute, and the list of new keys in theaddPublicKeysattribute. -
number_of_nodes(Optional[IntegerValue], default:None) –The number of Glue Data Processing Units (DPUs) to allocate to this
DevEndpoint. -
worker_type(Optional[WorkerType], default:None) –The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X.
-
For the
Standardworker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. -
For the
G.1Xworker 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.2Xworker 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.2XWorkerTypeconfiguration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk. -
-
glue_version(Optional[GlueVersionString], default:None) –Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints.
For more information about the available 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
Argumentsparameter in theCreateDevEndpointorUpdateDevEndpointAPIs. If no arguments are provided, the version defaults to Python 2. -
number_of_workers(Optional[NullableInteger], default:None) –The number of workers of a defined
workerTypethat are allocated to the development endpoint.The maximum number of workers you can define are 299 for
G.1X, and 149 forG.2X. -
extra_python_libs_s3_path(Optional[GenericString], default:None) –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 yet supported. -
extra_jars_s3_path(Optional[GenericString], default:None) –The path to one or more Java
.jarfiles in an S3 bucket that should be loaded in yourDevEndpoint. -
security_configuration(Optional[NameString], default:None) –The name of the
SecurityConfigurationstructure to be used with thisDevEndpoint. -
tags(Optional[TagsMap], default:None) –The tags to use with this DevEndpoint. You may use tags to limit access to the DevEndpoint. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
-
arguments(Optional[MapValue], default:None) –A map of arguments used to configure the
DevEndpoint.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
AlreadyExistsException–A resource to be created or added already exists.
-
IdempotentParameterMismatchException–The same unique identifier was associated with two different records.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
ResourceNumberLimitExceededException–A resource numerical limit was exceeded.
-
ValidationException–A value could not be validated.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 | |