Skip to content

Latest commit

 

History

History
 
 

PutEvent

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

PutEventv2.go

This example sends an Amazon CloudWatch event to Amazon EventBridge.

go run PutEventv2.go -l LAMBDA-ARN -f EVENT-FILE

  • LAMBDA-ARN is the ARN of the AWS Lambda function of which the event is concerned.
  • EVENT-FILE is the local file specifying details of the event to send to Amazon EventBridge.

The unit test accepts similar values in config.json.