[][src]Struct rusoto_autoscaling::CustomizedMetricSpecification

pub struct CustomizedMetricSpecification {
    pub dimensions: Option<Vec<MetricDimension>>,
    pub metric_name: String,
    pub namespace: String,
    pub statistic: String,
    pub unit: Option<String>,
}

Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use with Amazon EC2 Auto Scaling.

To create your customized metric specification:

For more information about CloudWatch, see Amazon CloudWatch Concepts.

Fields

dimensions: Option<Vec<MetricDimension>>

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

metric_name: String

The name of the metric.

namespace: String

The namespace of the metric.

statistic: String

The statistic of the metric.

unit: Option<String>

The unit of the metric.

Trait Implementations

impl PartialEq<CustomizedMetricSpecification> for CustomizedMetricSpecification[src]

impl Default for CustomizedMetricSpecification[src]

impl Clone for CustomizedMetricSpecification[src]

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

Performs copy-assignment from source. Read more

impl Debug for CustomizedMetricSpecification[src]

Auto Trait Implementations

impl Send for CustomizedMetricSpecification

impl Sync for CustomizedMetricSpecification

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