Open
Description
Describe the issue
The first lambda autoscaling example has an incorrect import. Instead of importing from aws-cdk-lib/aws-autoscaling
it should instead be importing from aws-cdk-lib/aws-applicationautoscaling
.
The use of the Schedule class from the autoscaling lib generates a string value that will synth but produces incompatible cron expressions for the Schedule attribute since they will not be wrapped with cron(...)
.
Links
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda-readme.html#autoscaling