[][src]Struct rusoto_emr::AutoScalingPolicy

pub struct AutoScalingPolicy {
    pub constraints: ScalingConstraints,
    pub rules: Vec<ScalingRule>,
}

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. An 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: 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: Vec<ScalingRule>

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

Trait Implementations

impl Clone for AutoScalingPolicy[src]

impl Debug for AutoScalingPolicy[src]

impl Default for AutoScalingPolicy[src]

impl PartialEq<AutoScalingPolicy> for AutoScalingPolicy[src]

impl Serialize for AutoScalingPolicy[src]

impl StructuralPartialEq for AutoScalingPolicy[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> From<T> 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.