[][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 PartialEq<AutoScalingPolicy> for AutoScalingPolicy[src]

impl Default for AutoScalingPolicy[src]

impl Clone for AutoScalingPolicy[src]

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

Performs copy-assignment from source. Read more

impl Debug for AutoScalingPolicy[src]

impl Serialize for AutoScalingPolicy[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> Erased for T

impl<T> Same for T

type Output = T

Should always be Self