MetricConfig¶
-
class
aws_cdk.aws_cloudwatch.
MetricConfig
(*, math_expression=None, metric_stat=None, rendering_properties=None)¶ Bases:
object
Properties of a rendered metric.
- Parameters
math_expression (
Optional
[MetricExpressionConfig
]) – In case the metric is a math expression, the details of the math expression. Default: - Nonemetric_stat (
Optional
[MetricStatConfig
]) – In case the metric represents a query, the details of the query. Default: - Nonerendering_properties (
Optional
[Mapping
[str
,Any
]]) – Additional properties which will be rendered if the metric is used in a dashboard. Examples are ‘label’ and ‘color’, but any key in here will be added to dashboard graphs. Default: - None
Attributes
-
math_expression
¶ In case the metric is a math expression, the details of the math expression.
- Default
None
- Return type
Optional
[MetricExpressionConfig
]
-
metric_stat
¶ In case the metric represents a query, the details of the query.
- Default
None
- Return type
Optional
[MetricStatConfig
]
-
rendering_properties
¶ Additional properties which will be rendered if the metric is used in a dashboard.
Examples are ‘label’ and ‘color’, but any key in here will be added to dashboard graphs.
- Default
None
- Return type
Optional
[Mapping
[str
,Any
]]