[][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 Clone for AutoScalingPolicyDescription[src]

impl Debug for AutoScalingPolicyDescription[src]

impl Default for AutoScalingPolicyDescription[src]

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

impl PartialEq<AutoScalingPolicyDescription> for AutoScalingPolicyDescription[src]

impl StructuralPartialEq for AutoScalingPolicyDescription[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.