[−][src]Struct rusoto_autoscaling::PredefinedMetricSpecification
Represents a predefined metric for a target tracking scaling policy to use with Amazon EC2 Auto Scaling.
Fields
predefined_metric_type: String
The metric type. The following predefined metrics are available:
-
ASGAverageCPUUtilization
- Average CPU utilization of the Auto Scaling group. -
ASGAverageNetworkIn
- Average number of bytes received on all network interfaces by the Auto Scaling group. -
ASGAverageNetworkOut
- Average number of bytes sent out on all network interfaces by the Auto Scaling group. -
ALBRequestCountPerTarget
- Number of requests completed per target in an Application Load Balancer target group.
resource_label: Option<String>
Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget
and there is a target group attached to the Auto Scaling group.
Elastic Load Balancing sends data about your load balancers to Amazon CloudWatch. CloudWatch collects the data and specifies the format to use to access the data. The format is app/load-balancer-name/load-balancer-id/targetgroup/target-group-name/target-group-id
, where
-
app/load-balancer-name/load-balancer-id
is the final portion of the load balancer ARN, and -
targetgroup/target-group-name/target-group-id
is the final portion of the target group ARN.
To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.
Trait Implementations
impl Clone for PredefinedMetricSpecification
[src]
pub fn clone(&self) -> PredefinedMetricSpecification
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PredefinedMetricSpecification
[src]
impl Default for PredefinedMetricSpecification
[src]
pub fn default() -> PredefinedMetricSpecification
[src]
impl PartialEq<PredefinedMetricSpecification> for PredefinedMetricSpecification
[src]
pub fn eq(&self, other: &PredefinedMetricSpecification) -> bool
[src]
pub fn ne(&self, other: &PredefinedMetricSpecification) -> bool
[src]
impl StructuralPartialEq for PredefinedMetricSpecification
[src]
Auto Trait Implementations
impl RefUnwindSafe for PredefinedMetricSpecification
[src]
impl Send for PredefinedMetricSpecification
[src]
impl Sync for PredefinedMetricSpecification
[src]
impl Unpin for PredefinedMetricSpecification
[src]
impl UnwindSafe for PredefinedMetricSpecification
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,