Skip to content

(aws-applicationautoscaling): Support datapointsToAlarm in StepScalingPolicy #17433

@stephenwiebe

Description

@stephenwiebe

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions