[−][src]Struct rusoto_ec2::SpotOptions
Describes the configuration of Spot Instances in an EC2 Fleet.
Fields
allocation_strategy: Option<String>
Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.
If the allocation strategy is lowestPrice
, EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.
If the allocation strategy is diversified
, EC2 Fleet launches instances from all the Spot Instance pools that you specify.
If the allocation strategy is capacityOptimized
, EC2 Fleet launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching.
instance_interruption_behavior: Option<String>
The behavior when a Spot Instance is interrupted. The default is terminate
.
instance_pools_to_use_count: Option<i64>
The number of Spot pools across which to allocate your target Spot capacity. Valid only when AllocationStrategy is set to lowestPrice
. EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.
max_total_price: Option<String>
The maximum amount per hour for Spot Instances that you're willing to pay.
min_target_capacity: Option<i64>
The minimum target capacity for Spot Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances.
single_availability_zone: Option<bool>
Indicates that the fleet launches all Spot Instances into a single Availability Zone.
single_instance_type: Option<bool>
Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet.
Trait Implementations
impl Clone for SpotOptions
[src]
fn clone(&self) -> SpotOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for SpotOptions
[src]
fn default() -> SpotOptions
[src]
impl PartialEq<SpotOptions> for SpotOptions
[src]
fn eq(&self, other: &SpotOptions) -> bool
[src]
fn ne(&self, other: &SpotOptions) -> bool
[src]
impl Debug for SpotOptions
[src]
impl StructuralPartialEq for SpotOptions
[src]
Auto Trait Implementations
impl Send for SpotOptions
impl Sync for SpotOptions
impl Unpin for SpotOptions
impl UnwindSafe for SpotOptions
impl RefUnwindSafe for SpotOptions
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self