pub struct LaunchTemplateSpotMarketOptionsRequest {
pub block_duration_minutes: Option<i64>,
pub instance_interruption_behavior: Option<String>,
pub max_price: Option<String>,
pub spot_instance_type: Option<String>,
pub valid_until: Option<String>,
}
Expand description
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.
spot_instance_type: Option<String>
The Spot Instance request type.
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
sourceimpl Clone for LaunchTemplateSpotMarketOptionsRequest
impl Clone for LaunchTemplateSpotMarketOptionsRequest
sourcefn clone(&self) -> LaunchTemplateSpotMarketOptionsRequest
fn clone(&self) -> LaunchTemplateSpotMarketOptionsRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for LaunchTemplateSpotMarketOptionsRequest
impl Default for LaunchTemplateSpotMarketOptionsRequest
sourcefn default() -> LaunchTemplateSpotMarketOptionsRequest
fn default() -> LaunchTemplateSpotMarketOptionsRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<LaunchTemplateSpotMarketOptionsRequest> for LaunchTemplateSpotMarketOptionsRequest
impl PartialEq<LaunchTemplateSpotMarketOptionsRequest> for LaunchTemplateSpotMarketOptionsRequest
sourcefn eq(&self, other: &LaunchTemplateSpotMarketOptionsRequest) -> bool
fn eq(&self, other: &LaunchTemplateSpotMarketOptionsRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LaunchTemplateSpotMarketOptionsRequest) -> bool
fn ne(&self, other: &LaunchTemplateSpotMarketOptionsRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for LaunchTemplateSpotMarketOptionsRequest
Auto Trait Implementations
impl RefUnwindSafe for LaunchTemplateSpotMarketOptionsRequest
impl Send for LaunchTemplateSpotMarketOptionsRequest
impl Sync for LaunchTemplateSpotMarketOptionsRequest
impl Unpin for LaunchTemplateSpotMarketOptionsRequest
impl UnwindSafe for LaunchTemplateSpotMarketOptionsRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more