[][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

impl Send for TargetTrackingConfiguration

impl Sync for TargetTrackingConfiguration

Blanket Implementations

impl<T> From for T[src]

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, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

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