[][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 must 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 false.

predefined_metric_specification: Option<PredefinedMetricSpecification>

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

target_value: f64

The target value for the metric.

Trait Implementations

impl Clone for TargetTrackingConfiguration[src]

impl Default for TargetTrackingConfiguration[src]

impl PartialEq<TargetTrackingConfiguration> for TargetTrackingConfiguration[src]

impl Debug for TargetTrackingConfiguration[src]

impl StructuralPartialEq for TargetTrackingConfiguration[src]

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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