IMetric Interface
Interface for metrics.
| Source | aws-cloudwatch/lib/metric-types.ts |
|---|---|
| Type last changed |
Properties
warningsmay be undefinedstring[]warningsmay be undefinedtyping.List[str]warningsmay be undefinedList<String>Warningsmay be undefinedstring[]Warningsmay be undefined*[]*string = None deprecated #- use warningsV2
Should be attached to the consuming construct.
warningsV2may be undefined{ [key: string]: string }warnings_v2may be undefinedtyping.Mapping[str, str]warningsV2may be undefinedMap<String, String>WarningsV2may be undefinedIDictionary<string, string>WarningsV2may be undefined*map[string]*string = None #Any warnings related to this metric.
Should be attached to the consuming construct.
Methods
toMetricConfig(): MetricConfigdef to_metric_config(self, ) -> MetricConfigpublic MetricConfig toMetricConfig()public MetricConfig ToMetricConfig()func ToMetricConfig() MetricConfig #Inspect the details of the metric object.