pub struct OnDemandProvisioningSpecification {
pub allocation_strategy: String,
}
Expand description
The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand instances allocation strategy is available in Amazon EMR version 5.12.1 and later.
Fields§
§allocation_strategy: String
Specifies the strategy to use in launching On-Demand instance fleets. Currently, the only option is lowest-price (the default), which launches the lowest price first.
Trait Implementations§
Source§impl Clone for OnDemandProvisioningSpecification
impl Clone for OnDemandProvisioningSpecification
Source§fn clone(&self) -> OnDemandProvisioningSpecification
fn clone(&self) -> OnDemandProvisioningSpecification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for OnDemandProvisioningSpecification
impl Default for OnDemandProvisioningSpecification
Source§fn default() -> OnDemandProvisioningSpecification
fn default() -> OnDemandProvisioningSpecification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OnDemandProvisioningSpecification
impl<'de> Deserialize<'de> for OnDemandProvisioningSpecification
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OnDemandProvisioningSpecification
impl PartialEq for OnDemandProvisioningSpecification
Source§fn eq(&self, other: &OnDemandProvisioningSpecification) -> bool
fn eq(&self, other: &OnDemandProvisioningSpecification) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OnDemandProvisioningSpecification
Auto Trait Implementations§
impl Freeze for OnDemandProvisioningSpecification
impl RefUnwindSafe for OnDemandProvisioningSpecification
impl Send for OnDemandProvisioningSpecification
impl Sync for OnDemandProvisioningSpecification
impl Unpin for OnDemandProvisioningSpecification
impl UnwindSafe for OnDemandProvisioningSpecification
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
Mutably borrows from an owned value. Read more