logo
pub struct CloudWatchAlarmConfiguration {
    pub comparison_operator: String,
    pub dimensions: Option<Vec<Dimension>>,
    pub evaluation_periods: i64,
    pub metric_name: String,
    pub namespace: String,
    pub period: i64,
    pub statistic: String,
    pub threshold: f64,
}
Expand description

A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.

Fields

comparison_operator: String

For the metric that the CloudWatch alarm is associated with, the arithmetic operation that is used for the comparison.

dimensions: Option<Vec<Dimension>>

For the metric that the CloudWatch alarm is associated with, a complex type that contains information about the dimensions for the metric. For information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch User Guide.

evaluation_periods: i64

For the metric that the CloudWatch alarm is associated with, the number of periods that the metric is compared to the threshold.

metric_name: String

The name of the CloudWatch metric that the alarm is associated with.

namespace: String

The namespace of the metric that the alarm is associated with. For more information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch User Guide.

period: i64

For the metric that the CloudWatch alarm is associated with, the duration of one evaluation period in seconds.

statistic: String

For the metric that the CloudWatch alarm is associated with, the statistic that is applied to the metric.

threshold: f64

For the metric that the CloudWatch alarm is associated with, the value the metric is compared with.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more