-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(aws-applicationautoscaling): Support datapointsToAlarm in StepScalingPolicy #17433
Copy link
Copy link
Closed
Closed
Copy link
Labels
@aws-cdk/aws-applicationautoscalingRelated to AWS Application Auto ScalingRelated to AWS Application Auto Scalingeffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
Description
StepScalingPolicy currently supports setting evaluationPeriods for the upper and lower autoscaling alarms, but not datapointsToAlarm. This means that to trigger the alarm, all data points in the evaluation period must trigger.
Use Case
I would like to create an autoscaling alarm that triggers when only a portion of the datapoints in the evaluation period have triggered.
Proposed Solution
Add an optional property to StepScalingPolicy for datapointsToAlarm that is passed to the underlying Alarm.
Other information
No response
Acknowledge
- I may be able to implement this feature request
- This feature might incur a breaking change
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-applicationautoscalingRelated to AWS Application Auto ScalingRelated to AWS Application Auto Scalingeffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2