Struct aws_sdk_emr::types::ExecutionEngineConfig
source · #[non_exhaustive]pub struct ExecutionEngineConfig {
pub id: Option<String>,
pub type: Option<ExecutionEngineType>,
pub master_instance_security_group_id: Option<String>,
pub execution_role_arn: Option<String>,
}
Expand description
Specifies the execution engine (cluster) to run the notebook and perform the notebook execution, for example, an Amazon EMR cluster.
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.id: Option<String>
The unique identifier of the execution engine. For an Amazon EMR cluster, this is the cluster ID.
type: Option<ExecutionEngineType>
The type of execution engine. A value of EMR
specifies an Amazon EMR cluster.
master_instance_security_group_id: Option<String>
An optional unique ID of an Amazon EC2 security group to associate with the master instance of the Amazon EMR cluster for this notebook execution. For more information see Specifying Amazon EC2 Security Groups for Amazon EMR Notebooks in the EMR Management Guide.
execution_role_arn: Option<String>
The execution role ARN required for the notebook execution.
Implementations§
source§impl ExecutionEngineConfig
impl ExecutionEngineConfig
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The unique identifier of the execution engine. For an Amazon EMR cluster, this is the cluster ID.
sourcepub fn type(&self) -> Option<&ExecutionEngineType>
pub fn type(&self) -> Option<&ExecutionEngineType>
The type of execution engine. A value of EMR
specifies an Amazon EMR cluster.
sourcepub fn master_instance_security_group_id(&self) -> Option<&str>
pub fn master_instance_security_group_id(&self) -> Option<&str>
An optional unique ID of an Amazon EC2 security group to associate with the master instance of the Amazon EMR cluster for this notebook execution. For more information see Specifying Amazon EC2 Security Groups for Amazon EMR Notebooks in the EMR Management Guide.
sourcepub fn execution_role_arn(&self) -> Option<&str>
pub fn execution_role_arn(&self) -> Option<&str>
The execution role ARN required for the notebook execution.
source§impl ExecutionEngineConfig
impl ExecutionEngineConfig
sourcepub fn builder() -> ExecutionEngineConfigBuilder
pub fn builder() -> ExecutionEngineConfigBuilder
Creates a new builder-style object to manufacture ExecutionEngineConfig
.
Trait Implementations§
source§impl Clone for ExecutionEngineConfig
impl Clone for ExecutionEngineConfig
source§fn clone(&self) -> ExecutionEngineConfig
fn clone(&self) -> ExecutionEngineConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecutionEngineConfig
impl Debug for ExecutionEngineConfig
source§impl PartialEq for ExecutionEngineConfig
impl PartialEq for ExecutionEngineConfig
source§fn eq(&self, other: &ExecutionEngineConfig) -> bool
fn eq(&self, other: &ExecutionEngineConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExecutionEngineConfig
Auto Trait Implementations§
impl Freeze for ExecutionEngineConfig
impl RefUnwindSafe for ExecutionEngineConfig
impl Send for ExecutionEngineConfig
impl Sync for ExecutionEngineConfig
impl Unpin for ExecutionEngineConfig
impl UnwindSafe for ExecutionEngineConfig
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