[−][src]Struct rusoto_ec2::SpotMarketOptions
The options for Spot Instances.
Fields
block_duration_minutes: Option<i64>
The required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).
instance_interruption_behavior: Option<String>
The behavior when a Spot Instance is interrupted. The default is terminate
.
max_price: Option<String>
The maximum hourly price you're willing to pay for the Spot Instances. The default is the On-Demand price.
spot_instance_type: Option<String>
The Spot Instance request type. For RunInstances, persistent Spot Instance requests are only supported when InstanceInterruptionBehavior is set to either hibernate
or stop
.
valid_until: Option<String>
The end date of the request. For a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date and time is reached. The default end date is 7 days from the current date.
Trait Implementations
impl Clone for SpotMarketOptions
[src]
pub fn clone(&self) -> SpotMarketOptions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SpotMarketOptions
[src]
impl Default for SpotMarketOptions
[src]
pub fn default() -> SpotMarketOptions
[src]
impl PartialEq<SpotMarketOptions> for SpotMarketOptions
[src]
pub fn eq(&self, other: &SpotMarketOptions) -> bool
[src]
pub fn ne(&self, other: &SpotMarketOptions) -> bool
[src]
impl StructuralPartialEq for SpotMarketOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for SpotMarketOptions
[src]
impl Send for SpotMarketOptions
[src]
impl Sync for SpotMarketOptions
[src]
impl Unpin for SpotMarketOptions
[src]
impl UnwindSafe for SpotMarketOptions
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,