[][src]Struct rusoto_autoscaling::TargetTrackingConfiguration

pub struct TargetTrackingConfiguration {
    pub customized_metric_specification: Option<CustomizedMetricSpecification>,
    pub disable_scale_in: Option<bool>,
    pub predefined_metric_specification: Option<PredefinedMetricSpecification>,
    pub target_value: f64,
}

Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.

Fields

customized_metric_specification: Option<CustomizedMetricSpecification>

A customized metric. You can specify either a predefined metric or a customized metric.

disable_scale_in: Option<bool>

Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is disabled.

predefined_metric_specification: Option<PredefinedMetricSpecification>

A predefined metric. You can specify either a predefined metric or a customized metric.

target_value: f64

The target value for the metric.

Trait Implementations

impl PartialEq<TargetTrackingConfiguration> for TargetTrackingConfiguration[src]

impl Default for TargetTrackingConfiguration[src]

impl Clone for TargetTrackingConfiguration[src]

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

Performs copy-assignment from source. Read more

impl Debug for TargetTrackingConfiguration[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<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

impl<T> Erased for T