AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This structure defines the CloudWatch metric to return, along with the statistic and unit.

For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide.

Inheritance Hierarchy

System.Object
  Amazon.AutoScaling.Model.TargetTrackingMetricStat

Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK.AutoScaling.dll
Version: 3.x.y.z

Syntax

C#
public class TargetTrackingMetricStat

The TargetTrackingMetricStat type exposes the following members

Constructors

NameDescription
Public Method TargetTrackingMetricStat()

Properties

NameTypeDescription
Public Property Metric Amazon.AutoScaling.Model.Metric

Gets and sets the property Metric.

The metric to use.

Public Property Period System.Int32

Gets and sets the property Period.

The period of the metric in seconds. The default value is 60. Accepted values are 10, 30, and 60. For high resolution metric, set the value to less than 60. For more information, see Create a target tracking policy using high-resolution metrics for faster response.

Public Property Stat System.String

Gets and sets the property Stat.

The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

The most commonly used metric for scaling is Average.

Public Property Unit System.String

Gets and sets the property Unit.

The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5