Skip to content

(aws_applicationautoscaling): PredefinedMetric enum members in CFN but not CDK #18969

@StevenSmiley

Description

@StevenSmiley

Description

The CFN specification for enum PredefinedMetric includes 5 members which are absent from CDK:

  • AppStreamAverageCapacityUtilization
  • CassandraReadCapacityUtilization
  • CassandraWriteCapacityUtilization
  • ComprehendInferenceUtilization
  • NeptuneReaderAverageCPUUtilization

I needed the one for AppStream and expected feature parity with CFN but didn't find it.

https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_applicationautoscaling.PredefinedMetric.html

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predefinedmetricspecification.html

Use Case

Implement autoscaling using predefined metrics

Proposed Solution

Add the enum members that are present in CFN but not CFK

Other information

No response

Acknowledge

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions