Struct rusoto_glue::CreateDevEndpointRequest
source · [−]pub struct CreateDevEndpointRequest {Show 15 fields
pub arguments: Option<HashMap<String, String>>,
pub endpoint_name: String,
pub extra_jars_s3_path: Option<String>,
pub extra_python_libs_s3_path: Option<String>,
pub glue_version: Option<String>,
pub number_of_nodes: Option<i64>,
pub number_of_workers: Option<i64>,
pub public_key: Option<String>,
pub public_keys: Option<Vec<String>>,
pub role_arn: String,
pub security_configuration: Option<String>,
pub security_group_ids: Option<Vec<String>>,
pub subnet_id: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub worker_type: Option<String>,
}
Fields
arguments: Option<HashMap<String, String>>
A map of arguments used to configure the DevEndpoint
.
endpoint_name: String
The name to be assigned to the new DevEndpoint
.
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
.
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.
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_nodes: Option<i64>
The number of Glue Data Processing Units (DPUs) to allocate to this DevEndpoint
.
number_of_workers: Option<i64>
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
.
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.
role_arn: String
The IAM role for the DevEndpoint
.
security_configuration: Option<String>
The name of the SecurityConfiguration
structure to be used with this 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.
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.
worker_type: Option<String>
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.
Trait Implementations
sourceimpl Clone for CreateDevEndpointRequest
impl Clone for CreateDevEndpointRequest
sourcefn clone(&self) -> CreateDevEndpointRequest
fn clone(&self) -> CreateDevEndpointRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateDevEndpointRequest
impl Debug for CreateDevEndpointRequest
sourceimpl Default for CreateDevEndpointRequest
impl Default for CreateDevEndpointRequest
sourcefn default() -> CreateDevEndpointRequest
fn default() -> CreateDevEndpointRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateDevEndpointRequest> for CreateDevEndpointRequest
impl PartialEq<CreateDevEndpointRequest> for CreateDevEndpointRequest
sourcefn eq(&self, other: &CreateDevEndpointRequest) -> bool
fn eq(&self, other: &CreateDevEndpointRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateDevEndpointRequest) -> bool
fn ne(&self, other: &CreateDevEndpointRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateDevEndpointRequest
impl Serialize for CreateDevEndpointRequest
impl StructuralPartialEq for CreateDevEndpointRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateDevEndpointRequest
impl Send for CreateDevEndpointRequest
impl Sync for CreateDevEndpointRequest
impl Unpin for CreateDevEndpointRequest
impl UnwindSafe for CreateDevEndpointRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more