[][src]Struct rusoto_emr::AutoScalingPolicyDescription

pub struct AutoScalingPolicyDescription {
    pub constraints: Option<ScalingConstraints>,
    pub rules: Option<Vec<ScalingRule>>,
    pub status: Option<AutoScalingPolicyStatus>,
}

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Fields

constraints: Option<ScalingConstraints>

The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.

rules: Option<Vec<ScalingRule>>

The scale-in and scale-out rules that comprise the automatic scaling policy.

status: Option<AutoScalingPolicyStatus>

The status of an automatic scaling policy.

Trait Implementations

impl PartialEq<AutoScalingPolicyDescription> for AutoScalingPolicyDescription[src]

impl Default for AutoScalingPolicyDescription[src]

impl Clone for AutoScalingPolicyDescription[src]

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

Performs copy-assignment from source. Read more

impl Debug for AutoScalingPolicyDescription[src]

impl<'de> Deserialize<'de> for AutoScalingPolicyDescription[src]

Auto Trait Implementations

Blanket Implementations

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> From for T[src]

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

type Error = Infallible

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

The type returned in the event of a conversion error.

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self