Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.16 KB

add-scheduled-event.md

File metadata and controls

30 lines (25 loc) · 1.16 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