lib/plugins/aws/package/compile/events/schedule/index.js/AwsCompileScheduledEvents/validateScheduleSyntax
class AwsCompileScheduledEvents:  validateScheduleSyntax(input) {
    return typeof input === 'string' &&
      (rateSyntaxPattern.test(input) || cronSyntaxPattern.test(input));
  }