[−][src]Struct rusoto_ec2::SpotOptionsRequest
Describes the configuration of Spot Instances in an EC2 Fleet request.
Fields
allocation_strategy: Option<String>
Indicates how to allocate the target capacity across the Spot pools specified by the Spot Fleet request. The default is lowestPrice
.
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 Spot AllocationStrategy is set to lowest-price
. EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.
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 PartialEq<SpotOptionsRequest> for SpotOptionsRequest
[src]
fn eq(&self, other: &SpotOptionsRequest) -> bool
[src]
fn ne(&self, other: &SpotOptionsRequest) -> bool
[src]
impl Default for SpotOptionsRequest
[src]
fn default() -> SpotOptionsRequest
[src]
impl Clone for SpotOptionsRequest
[src]
fn clone(&self) -> SpotOptionsRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for SpotOptionsRequest
[src]
Auto Trait Implementations
impl Send for SpotOptionsRequest
impl Sync for SpotOptionsRequest
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
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]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
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]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self