[−][src]Struct rusoto_emr::InstanceFleetConfig
The configuration that defines an instance fleet.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Fields
instance_fleet_type: String
The node type that the instance fleet hosts. Valid values are MASTER,CORE,and TASK.
instance_type_configs: Option<Vec<InstanceTypeConfig>>
The instance type configurations that define the EC2 instances in the instance fleet.
launch_specifications: Option<InstanceFleetProvisioningSpecifications>
The launch specification for the instance fleet.
name: Option<String>
The friendly name of the instance fleet.
target_on_demand_capacity: Option<i64>
The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand instances to provision. When the instance fleet launches, Amazon EMR tries to provision On-Demand instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity
. When an On-Demand instance is provisioned, the WeightedCapacity
units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity
of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units.
If not specified or set to 0, only Spot instances are provisioned for the instance fleet using TargetSpotCapacity
. At least one of TargetSpotCapacity
and TargetOnDemandCapacity
should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity
and TargetOnDemandCapacity
can be specified, and its value must be 1.
target_spot_capacity: Option<i64>
The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision. When the instance fleet launches, Amazon EMR tries to provision Spot instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity
. When a Spot instance is provisioned, the WeightedCapacity
units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity
of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units.
If not specified or set to 0, only On-Demand instances are provisioned for the instance fleet. At least one of TargetSpotCapacity
and TargetOnDemandCapacity
should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity
and TargetOnDemandCapacity
can be specified, and its value must be 1.
Trait Implementations
impl Clone for InstanceFleetConfig
[src]
fn clone(&self) -> InstanceFleetConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for InstanceFleetConfig
[src]
impl Default for InstanceFleetConfig
[src]
fn default() -> InstanceFleetConfig
[src]
impl PartialEq<InstanceFleetConfig> for InstanceFleetConfig
[src]
fn eq(&self, other: &InstanceFleetConfig) -> bool
[src]
fn ne(&self, other: &InstanceFleetConfig) -> bool
[src]
impl Serialize for InstanceFleetConfig
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for InstanceFleetConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for InstanceFleetConfig
impl Send for InstanceFleetConfig
impl Sync for InstanceFleetConfig
impl Unpin for InstanceFleetConfig
impl UnwindSafe for InstanceFleetConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,