[−][src]Struct rusoto_emr::InstanceGroup
This entity represents an instance group, which is a group of instances that have common purpose. For example, CORE instance group is used for HDFS.
Fields
auto_scaling_policy: Option<AutoScalingPolicyDescription>
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
bid_price: Option<String>
The maximum Spot price your are willing to pay for EC2 instances.
An optional, nullable field that applies if the MarketType
for the instance group is specified as SPOT
. Specify the maximum spot price in USD. If the value is NULL and SPOT
is specified, the maximum Spot price is set equal to the On-Demand price.
configurations: Option<Vec<Configuration>>
Amazon EMR releases 4.x or later.
The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
ebs_block_devices: Option<Vec<EbsBlockDevice>>
The EBS block devices that are mapped to this instance group.
ebs_optimized: Option<bool>
If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.
id: Option<String>
The identifier of the instance group.
instance_group_type: Option<String>
The type of the instance group. Valid values are MASTER, CORE or TASK.
instance_type: Option<String>
The EC2 instance type for all instances in the instance group.
market: Option<String>
The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.
name: Option<String>
The name of the instance group.
requested_instance_count: Option<i64>
The target number of instances for the instance group.
running_instance_count: Option<i64>
The number of instances currently running in this instance group.
shrink_policy: Option<ShrinkPolicy>
Policy for customizing shrink operations.
status: Option<InstanceGroupStatus>
The current status of the instance group.
Trait Implementations
impl Default for InstanceGroup
[src]
impl Default for InstanceGroup
fn default() -> InstanceGroup
[src]
fn default() -> InstanceGroup
Returns the "default value" for a type. Read more
impl PartialEq<InstanceGroup> for InstanceGroup
[src]
impl PartialEq<InstanceGroup> for InstanceGroup
fn eq(&self, other: &InstanceGroup) -> bool
[src]
fn eq(&self, other: &InstanceGroup) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &InstanceGroup) -> bool
[src]
fn ne(&self, other: &InstanceGroup) -> bool
This method tests for !=
.
impl Clone for InstanceGroup
[src]
impl Clone for InstanceGroup
fn clone(&self) -> InstanceGroup
[src]
fn clone(&self) -> InstanceGroup
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 InstanceGroup
[src]
impl Debug for InstanceGroup
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<'de> Deserialize<'de> for InstanceGroup
[src]
impl<'de> Deserialize<'de> for InstanceGroup
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl Send for InstanceGroup
impl Send for InstanceGroup
impl Sync for InstanceGroup
impl Sync for InstanceGroup
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> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
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