aws-cdk-lib.aws_cloudwatch.IMetric

interface IMetric

LanguageType name
.NETAmazon.CDK.AWS.CloudWatch.IMetric
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudwatch#IMetric
Javasoftware.amazon.awscdk.services.cloudwatch.IMetric
Pythonaws_cdk.aws_cloudwatch.IMetric
TypeScript (source)aws-cdk-lib » aws_cloudwatch » IMetric

Implemented by MathExpression, Metric

Obtainable from Table.metricSystemErrorsForOperations(), Table.metricThrottledRequestsForOperations()

Interface for metrics.

Properties

NameTypeDescription
warnings?string[]Any warnings related to this metric.

warnings?

Type: string[] (optional, default: None)

Any warnings related to this metric.

Should be attached to the consuming construct.

Methods

NameDescription
toMetricConfig()Inspect the details of the metric object.

toMetricConfig()

public toMetricConfig(): MetricConfig

Returns

  • MetricConfig

Inspect the details of the metric object.