#[non_exhaustive]pub struct CreateDevEndpointInput {Show 15 fields
pub endpoint_name: Option<String>,
pub role_arn: Option<String>,
pub security_group_ids: Option<Vec<String>>,
pub subnet_id: Option<String>,
pub public_key: Option<String>,
pub public_keys: Option<Vec<String>>,
pub number_of_nodes: Option<i32>,
pub worker_type: Option<WorkerType>,
pub glue_version: Option<String>,
pub number_of_workers: Option<i32>,
pub extra_python_libs_s3_path: Option<String>,
pub extra_jars_s3_path: Option<String>,
pub security_configuration: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub arguments: Option<HashMap<String, String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.endpoint_name: Option<String>
The name to be assigned to the new DevEndpoint
.
role_arn: Option<String>
The IAM role for the DevEndpoint
.
security_group_ids: Option<Vec<String>>
Security group IDs for the security groups to be used by the new DevEndpoint
.
subnet_id: Option<String>
The subnet ID for the new DevEndpoint
to use.
public_key: Option<String>
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.
public_keys: Option<Vec<String>>
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 UpdateDevEndpoint
API with the public key content in the deletePublicKeys
attribute, and the list of new keys in the addPublicKeys
attribute.
number_of_nodes: Option<i32>
The number of Glue Data Processing Units (DPUs) to allocate to this DevEndpoint
.
worker_type: Option<WorkerType>
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.
glue_version: Option<String>
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 Arguments
parameter in the CreateDevEndpoint
or UpdateDevEndpoint
APIs. If no arguments are provided, the version defaults to Python 2.
number_of_workers: Option<i32>
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
.
extra_python_libs_s3_path: Option<String>
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: Option<String>
The path to one or more Java .jar
files in an S3 bucket that should be loaded in your DevEndpoint
.
security_configuration: Option<String>
The name of the SecurityConfiguration
structure to be used with this DevEndpoint
.
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: Option<HashMap<String, String>>
A map of arguments used to configure the DevEndpoint
.
Implementations§
source§impl CreateDevEndpointInput
impl CreateDevEndpointInput
sourcepub fn endpoint_name(&self) -> Option<&str>
pub fn endpoint_name(&self) -> Option<&str>
The name to be assigned to the new DevEndpoint
.
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
Security group IDs for the security groups to be used by the new DevEndpoint
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_ids.is_none()
.
sourcepub fn public_key(&self) -> Option<&str>
pub fn public_key(&self) -> Option<&str>
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.
sourcepub fn public_keys(&self) -> &[String]
pub fn public_keys(&self) -> &[String]
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 UpdateDevEndpoint
API with the public key content in the deletePublicKeys
attribute, and the list of new keys in the addPublicKeys
attribute.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .public_keys.is_none()
.
sourcepub fn number_of_nodes(&self) -> Option<i32>
pub fn number_of_nodes(&self) -> Option<i32>
The number of Glue Data Processing Units (DPUs) to allocate to this DevEndpoint
.
sourcepub fn worker_type(&self) -> Option<&WorkerType>
pub fn worker_type(&self) -> Option<&WorkerType>
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.
sourcepub fn glue_version(&self) -> Option<&str>
pub fn glue_version(&self) -> Option<&str>
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 Arguments
parameter in the CreateDevEndpoint
or UpdateDevEndpoint
APIs. If no arguments are provided, the version defaults to Python 2.
sourcepub fn number_of_workers(&self) -> Option<i32>
pub fn number_of_workers(&self) -> Option<i32>
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
.
sourcepub fn extra_python_libs_s3_path(&self) -> Option<&str>
pub fn extra_python_libs_s3_path(&self) -> Option<&str>
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.
sourcepub fn extra_jars_s3_path(&self) -> Option<&str>
pub fn extra_jars_s3_path(&self) -> Option<&str>
The path to one or more Java .jar
files in an S3 bucket that should be loaded in your DevEndpoint
.
sourcepub fn security_configuration(&self) -> Option<&str>
pub fn security_configuration(&self) -> Option<&str>
The name of the SecurityConfiguration
structure to be used with this DevEndpoint
.
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.
source§impl CreateDevEndpointInput
impl CreateDevEndpointInput
sourcepub fn builder() -> CreateDevEndpointInputBuilder
pub fn builder() -> CreateDevEndpointInputBuilder
Creates a new builder-style object to manufacture CreateDevEndpointInput
.
Trait Implementations§
source§impl Clone for CreateDevEndpointInput
impl Clone for CreateDevEndpointInput
source§fn clone(&self) -> CreateDevEndpointInput
fn clone(&self) -> CreateDevEndpointInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDevEndpointInput
impl Debug for CreateDevEndpointInput
source§impl PartialEq for CreateDevEndpointInput
impl PartialEq for CreateDevEndpointInput
source§fn eq(&self, other: &CreateDevEndpointInput) -> bool
fn eq(&self, other: &CreateDevEndpointInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateDevEndpointInput
Auto Trait Implementations§
impl Freeze for CreateDevEndpointInput
impl RefUnwindSafe for CreateDevEndpointInput
impl Send for CreateDevEndpointInput
impl Sync for CreateDevEndpointInput
impl Unpin for CreateDevEndpointInput
impl UnwindSafe for CreateDevEndpointInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more