interface IMetric
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudWatch.IMetric |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudwatch#IMetric |
Java | software.amazon.awscdk.services.cloudwatch.IMetric |
Python | aws_cdk.aws_cloudwatch.IMetric |
TypeScript (source) | aws-cdk-lib » aws_cloudwatch » IMetric |
Implemented by
Math, Metric, Search
Obtainable from
Table.metricSystemErrorsForOperations(), Table.metricThrottledRequestsForOperations(), Table.metricSystemErrorsForOperations(), Table.metricThrottledRequestsForOperation(), Table.metricThrottledRequestsForOperations()
Interface for metrics.
Properties
| Name | Type | Description |
|---|---|---|
| warnings? | string[] | Any warnings related to this metric. |
| warnings | { [string]: string } | Any warnings related to this metric. |
warnings?
⚠️ Deprecated: - use warningsV2
Type:
string[]
(optional, default: None)
Any warnings related to this metric.
Should be attached to the consuming construct.
warningsV2?
Type:
{ [string]: string }
(optional, default: None)
Any warnings related to this metric.
Should be attached to the consuming construct.
Methods
| Name | Description |
|---|---|
| to | Inspect the details of the metric object. |
toMetricConfig()
public toMetricConfig(): MetricConfig
Returns
Inspect the details of the metric object.

.NET
Go
Java
Python
TypeScript (