Skip to content
/ cwe Public

Send a single event to CloudWatch Events from the command line

License

Notifications You must be signed in to change notification settings

scottbrown/cwe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

cwe

Send a single event to CloudWatch Events on the command line.

This tool is much easier to use on the command line than the AWS CLI, plus it is contained within a single statically-linked binary so there's no dependencies to manage. Simply download and run.

Requirements

  • AWS access key and secret key (discoverable by env vars or via the EC2/ECS metadata service)
  • Permission to send CloudWatch events (i.e. events:PutEvents)

Usage

Send a single event:

cwe --source "com.example.app" --resources i-103932,i-10393 --type "A test event" --detail "\"Key\": \"Value\""

or use the short-form flags:

cwe -s "com.example.app" -r i-103932,i-10393 -t "A test event" -d "\"Key\": \"Value\""

About

Send a single event to CloudWatch Events from the command line

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published