in source/lambda/resources/event-injector/event-injector.common.js [30:54]
async static putEvent() {
//TODO cloudwatch events put data
var params = {
Entries: [ /* required */
{
Detail: 'STRING_VALUE',
DetailType: 'STRING_VALUE',
EventBusName: 'STRING_VALUE',
Resources: [
'STRING_VALUE',
/* more items */
],
Source: 'STRING_VALUE',
Time: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789
},
/* more items */
]
};
try { await Events.putEvents(); }
catch (e) {
Logger.log('ERROR', `${e}`)
throw new Error(e)
}
}