[−][src]Struct rusoto_application_autoscaling::PredefinedMetricSpecification
Represents a predefined metric for a target tracking scaling policy to use with Application Auto Scaling.
Only the AWS services that you're using send metrics to Amazon CloudWatch. To determine whether a desired metric already exists by looking up its namespace and dimension using the CloudWatch metrics dashboard in the console, follow the procedure in Building Dashboards with CloudWatch in the Application Auto Scaling User Guide.
Fields
predefined_metric_type: String
The metric type. The ALBRequestCountPerTarget
metric type applies only to Spot Fleet requests and ECS services.
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 Spot Fleet request or ECS service.
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
-
targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.
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<'de> Deserialize<'de> for PredefinedMetricSpecification
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<PredefinedMetricSpecification> for PredefinedMetricSpecification
[src]
pub fn eq(&self, other: &PredefinedMetricSpecification) -> bool
[src]
pub fn ne(&self, other: &PredefinedMetricSpecification) -> bool
[src]
impl Serialize for PredefinedMetricSpecification
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,