AutoScalingGroup: DatapointsToAlarm
property support for BasicStepScalingPolicyProps
#28749
Closed
2 tasks
Labels
@aws-cdk/aws-autoscaling
Related to Amazon EC2 Auto Scaling
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
Currently, the scale_on_metric method for the AutoScalingGroup construct does not support explicitly specifying the
DatapointsToAlarm
property but supports settingEvaluationPeriods
. Thescale_on_metric
implementsBasicStepScalingPolicyProps
. Hence supportDatapointsToAlarm
inBasicStepScalingPolicyProps
interface.Use Case
This feature would be helpful instead of having to use the workaround of Escape Hatches to modify the underlying
DatapointsToAlarm
property in the CloudWatch alarm generated.Proposed Solution
Add property
DatapointsToAlarm
property forBasicStepScalingPolicyProps
construct.Other Information
No response
Acknowledgements
CDK version used
2.114.1
Environment details (OS name and version, etc.)
Linux/Windows
The text was updated successfully, but these errors were encountered: