[][src]Struct rusoto_ec2::LaunchTemplateOverrides

pub struct LaunchTemplateOverrides {
    pub availability_zone: Option<String>,
    pub instance_type: Option<String>,
    pub priority: Option<f64>,
    pub spot_price: Option<String>,
    pub subnet_id: Option<String>,
    pub weighted_capacity: Option<f64>,
}

Describes overrides for a launch template.

Fields

availability_zone: Option<String>

The Availability Zone in which to launch the instances.

instance_type: Option<String>

The instance type.

priority: Option<f64>

The priority for the launch template override. If OnDemandAllocationStrategy is set to prioritized, Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. Valid values are whole numbers starting at 0. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority.

spot_price: Option<String>

The maximum price per unit hour that you are willing to pay for a Spot Instance.

subnet_id: Option<String>

The ID of the subnet in which to launch the instances.

weighted_capacity: Option<f64>

The number of units provided by the specified instance type.

Trait Implementations

impl PartialEq<LaunchTemplateOverrides> for LaunchTemplateOverrides[src]

impl Default for LaunchTemplateOverrides[src]

impl Clone for LaunchTemplateOverrides[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for LaunchTemplateOverrides[src]

Auto Trait Implementations

impl Send for LaunchTemplateOverrides

impl Sync for LaunchTemplateOverrides

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self