PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
events
**To send a custom event to CloudWatch Events** This example sends a custom event to CloudWatch Events. The event is contained within the putevents.json file:: aws events put-events --entries file://putevents.json Here are the contents of the putevents.json file:: [ { "Source": "com.mycompany.myapp", "Detail": "{ \"key1\": \"value1\", \"key2\": \"value2\" }", "Resources": [ "resource1", "resource2" ], "DetailType": "myDetailType" }, { "Source": "com.mycompany.myapp", "Detail": "{ \"key1\": \"value3\", \"key2\": \"value4\" }", "Resources": [ "resource1", "resource2" ], "DetailType": "myDetailType" } ]
[+]
..
[-] disable-rule.rst
[edit]
[-] enable-rule.rst
[edit]
[-] list-rules.rst
[edit]
[-] delete-rule.rst
[edit]
[-] describe-rule.rst
[edit]
[-] test-event-pattern.rst
[edit]
[-] list-targets-by-rule.rst
[edit]
[-] put-events.rst
[edit]
[-] put-targets.rst
[edit]
[-] remove-targets.rst
[edit]
[-] put-rule.rst
[edit]
[-] list-rule-names-by-target.rst
[edit]