

# Metric
<a name="API_Metric"></a>

Represents a specific metric.

## Contents
<a name="API_Metric_Contents"></a>

 ** Dimensions **   <a name="ACW-Type-Metric-Dimensions"></a>
The dimensions for the metric.  
Type: Array of [Dimension](API_Dimension.md) objects  
Array Members: Maximum number of 30 items.  
Required: No

 ** MetricName **   <a name="ACW-Type-Metric-MetricName"></a>
The name of the metric. This is a required field.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** Namespace **   <a name="ACW-Type-Metric-Namespace"></a>
The namespace of the metric.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `[^:].*`   
Required: No

## See Also
<a name="API_Metric_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/monitoring-2010-08-01/Metric) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/monitoring-2010-08-01/Metric) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/monitoring-2010-08-01/Metric) 