title: How can I validate an AWS cron expression in Java 8 without creating the AWS resource?
body: <p>I'm trying to find a way to validate a cron expression in Java 8 that conforms with AWS requirements without having to create the CloudWatch resource. The way I'm currently validating my cron expression is by trying to create the CW resource and then handling the ParseException thrown. However, I'd like to know before deploying the resource if the cron expression entered by the user is a <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html" rel="noreferrer">valid AWS cron expression</a>.</p>
  
  <p>Does Amazon conform to a cron expression standard? I have been reading AWS documentation to see if the requirements for Amazon cron expressions follow a standard (Unix, Quartz, etc) but there are enough little differences that I haven't been able to confirm that they do. Maybe I don't know enough about cron, but it seems like AWS has their own standard for cron expressions. However, I don't see that they have provided their own cron expression validator. </p>