-
Notifications
You must be signed in to change notification settings - Fork 4.5k
See if we can provide a single API for construcing Cron expressions #1181
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-applicationautoscalingRelated to AWS Application Auto ScalingRelated to AWS Application Auto Scaling@aws-cdk/aws-autoscalingRelated to Amazon EC2 Auto ScalingRelated to Amazon EC2 Auto Scaling@aws-cdk/aws-eventsRelated to CloudWatch EventsRelated to CloudWatch Eventsfeature-requestA feature should be added or improved.A feature should be added or improved.
Description
Currently, CloudWatch Events, Application AutoScaling and AutoScaling all have cron expressions, and so they have a Cron helper class. See if we can merge these, and make a more expressive cron expression builder.
At least the syntaxes of AppAutoScaling and AutoScaling are not compatible, they look like this:
cron(0 18 * * ?) # appscaling
0 18 * * * # autoscaling
Note the cron() function, and the difference between * and ? for the DOW field.
See comments in #1134
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-applicationautoscalingRelated to AWS Application Auto ScalingRelated to AWS Application Auto Scaling@aws-cdk/aws-autoscalingRelated to Amazon EC2 Auto ScalingRelated to Amazon EC2 Auto Scaling@aws-cdk/aws-eventsRelated to CloudWatch EventsRelated to CloudWatch Eventsfeature-requestA feature should be added or improved.A feature should be added or improved.