Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cloudwatch): period of each metric in usingMetrics for MathExpression is ignored #30986

Merged
merged 10 commits into from
Dec 11, 2024
4 changes: 4 additions & 0 deletions packages/aws-cdk-lib/aws-cloudwatch/lib/metric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ export interface MathExpressionProps extends MathExpressionOptions {
* The key is the identifier that represents the given metric in the
* expression, and the value is the actual Metric object.
*
* The `period` of each Metric object is ignored and instead overridden by
* the `period` of this math expression object. Even if the `period` of the
* math expression is not specified, it is overridden by its default value.
kaizencc marked this conversation as resolved.
Show resolved Hide resolved
*
* @default - Empty map.
*/
readonly usingMetrics?: Record<string, IMetric>;
Expand Down
Loading