[][src]Struct rusoto_opsworks::SetLoadBasedAutoScalingRequest

pub struct SetLoadBasedAutoScalingRequest {
    pub down_scaling: Option<AutoScalingThresholds>,
    pub enable: Option<bool>,
    pub layer_id: String,
    pub up_scaling: Option<AutoScalingThresholds>,
}

Fields

down_scaling: Option<AutoScalingThresholds>

An AutoScalingThresholds object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks Stacks stops a specified number of instances.

enable: Option<bool>

Enables load-based auto scaling for the layer.

layer_id: String

The layer ID.

up_scaling: Option<AutoScalingThresholds>

An AutoScalingThresholds object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks Stacks starts a specified number of instances.

Trait Implementations

impl Clone for SetLoadBasedAutoScalingRequest[src]

impl Default for SetLoadBasedAutoScalingRequest[src]

impl PartialEq<SetLoadBasedAutoScalingRequest> for SetLoadBasedAutoScalingRequest[src]

impl Debug for SetLoadBasedAutoScalingRequest[src]

impl Serialize for SetLoadBasedAutoScalingRequest[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self