aws_cloudwatch: Stat helper does not support lower bounds, or fixed values. #29622
Open
1 of 2 tasks
Labels
@aws-cdk/aws-cloudwatch
Related to Amazon CloudWatch
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
There are valid statistics that cannot be created with the Stats helper
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html
Use Case
Defining stats such as
PR(1:)
,TC(1:2)
,TC(1:)
,TC(1%:)
Proposed Solution
I don't think mixing percent and fixed values is allowed, so I recommend an interface like this
Which can be implemented as function overloads
Other options
fixed
function on the stat to switch to fixed modeundefined
for the lower bound, which mean unbounded.Infinity
as unboundedOther Information
No response
Acknowledgements
CDK version used
2.133.0
Environment details (OS name and version, etc.)
NA
The text was updated successfully, but these errors were encountered: