Permalink
6c18c6b Aug 1, 2016
31 lines (25 sloc) 1.13 KB

add-scheduled-event

Add a recurring notification event

Usage

claudia add-scheduled-event {OPTIONS}

Options

  • --event: Path to a JSON event file that will be sent to lambda periodically
  • --name: Name for the scheduled event rule that will be created
  • --schedule: A schedule expression. For syntax options, see http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/ScheduledEvents.html
    • For example: rate(5 minutes)
  • --rate: optional a shorthand for rate-based expressions, without the brackets. If this is specified, the schedule argument is not required/ignored
    • For example: 5 minutes
  • --cron: optional a shorthand for cron-based expressions, without the brackets. If this is specified, the schedule argument is not required/ignored
    • For example: 0 8 1 * ? *
  • --version: optional Bind to a particular version
    • For example: production
    • Defaults to: latest version
  • --source: optional Directory with project files
    • Defaults to: current directory
  • --config: optional Config file containing the resource names
    • Defaults to: claudia.json