Skip to content

[autoscaling] StepScalingPolicy ignores estimatedInstanceWarmup property #10514

@ddneilson

Description

@ddneilson

The implementation of StepScalingPolicy ignores the estimatedInstanceWarmup property of the construct.

The property should be passed on to the StepScalingAction objects (lowerAction & upperAction) that the StepScalingPolicy creates, but it is not.

Reproduction Steps

Create a StepScalingPolicy with an estimatedInstanceWarmup property value.

What did you expect to happen?

The value of estimatedInstanceWarmup is translated into a value for the EstimatedInstanceWarmup property of the generated AWS::AutoScaling::ScalingPolicy.

What actually happened?

There is no EstimatedInstanceWarmup value in the generated AWS::AutoScaling::ScalingPolicy resource.

Environment

  • CLI Version : 1.63.0+
  • Framework Version: 1.63.0+
  • Node.js Version: any
  • OS : any
  • Language (Version): all

This is 🐛 Bug Report

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-autoscalingRelated to Amazon EC2 Auto ScalingbugThis issue is a bug.closed-for-stalenessThis issue was automatically closed because it hadn't received any attention in a while.effort/smallSmall work item – less than a day of effortp1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions