[−][src]Struct rusoto_emr::JobFlowInstancesConfig
A description of the Amazon EC2 instance on which the cluster (job flow) runs. A valid JobFlowInstancesConfig must contain either InstanceGroups or InstanceFleets, which is the recommended configuration. They cannot be used together. You may also have MasterInstanceType, SlaveInstanceType, and InstanceCount (all three must be present), but we don't recommend this configuration.
Fields
additional_master_security_groups: Option<Vec<String>>
A list of additional Amazon EC2 security group IDs for the master node.
additional_slave_security_groups: Option<Vec<String>>
A list of additional Amazon EC2 security group IDs for the slave nodes.
ec_2_key_name: Option<String>
The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop."
ec_2_subnet_id: Option<String>
Applies to clusters that use the uniform instance group configuration. To launch the cluster in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch. If you do not specify this value, the cluster launches in the normal Amazon Web Services cloud, outside of an Amazon VPC, if the account launching the cluster supports EC2 Classic networks in the region where the cluster launches.
Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for clusters launched in an Amazon VPC.
ec_2_subnet_ids: Option<Vec<String>>
Applies to clusters that use the instance fleet configuration. When multiple EC2 subnet IDs are specified, Amazon EMR evaluates them and launches instances in the optimal subnet.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
emr_managed_master_security_group: Option<String>
The identifier of the Amazon EC2 security group for the master node.
emr_managed_slave_security_group: Option<String>
The identifier of the Amazon EC2 security group for the slave nodes.
hadoop_version: Option<String>
Applies only to Amazon EMR release versions earlier than 4.0. The Hadoop version for the cluster. Valid inputs are "0.18" (deprecated), "0.20" (deprecated), "0.20.205" (deprecated), "1.0.3", "2.2.0", or "2.4.0". If you do not set this value, the default of 0.18 is used, unless the AmiVersion
parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.
instance_count: Option<i64>
The number of EC2 instances in the cluster.
instance_fleets: Option<Vec<InstanceFleetConfig>>
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.
instance_groups: Option<Vec<InstanceGroupConfig>>
Configuration for the instance groups in a cluster.
keep_job_flow_alive_when_no_steps: Option<bool>
Specifies whether the cluster should remain available after completing all steps.
master_instance_type: Option<String>
The EC2 instance type of the master node.
placement: Option<PlacementType>
The Availability Zone in which the cluster runs.
service_access_security_group: Option<String>
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.
slave_instance_type: Option<String>
The EC2 instance type of the slave nodes.
termination_protected: Option<bool>
Specifies whether to lock the cluster to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job-flow error.
Trait Implementations
impl Default for JobFlowInstancesConfig
[src]
impl Default for JobFlowInstancesConfig
fn default() -> JobFlowInstancesConfig
[src]
fn default() -> JobFlowInstancesConfig
Returns the "default value" for a type. Read more
impl PartialEq<JobFlowInstancesConfig> for JobFlowInstancesConfig
[src]
impl PartialEq<JobFlowInstancesConfig> for JobFlowInstancesConfig
fn eq(&self, other: &JobFlowInstancesConfig) -> bool
[src]
fn eq(&self, other: &JobFlowInstancesConfig) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &JobFlowInstancesConfig) -> bool
[src]
fn ne(&self, other: &JobFlowInstancesConfig) -> bool
This method tests for !=
.
impl Clone for JobFlowInstancesConfig
[src]
impl Clone for JobFlowInstancesConfig
fn clone(&self) -> JobFlowInstancesConfig
[src]
fn clone(&self) -> JobFlowInstancesConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for JobFlowInstancesConfig
[src]
impl Debug for JobFlowInstancesConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Serialize for JobFlowInstancesConfig
[src]
impl Serialize for JobFlowInstancesConfig
Auto Trait Implementations
impl Send for JobFlowInstancesConfig
impl Send for JobFlowInstancesConfig
impl Sync for JobFlowInstancesConfig
impl Sync for JobFlowInstancesConfig
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
type Owned = T
fn to_owned(&self) -> T
[src]
fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)
[src]
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self
impl<T> Erased for T
impl<T> Erased for T