bitter-oil-45383
09/04/2020, 3:06 PMconst queue = new aws.sqs.Queue('myQueueName', { visibilityTimeoutSeconds: 180 });
const eventRule = new aws.cloudwatch.EventRule('myRule', {
scheduleExpression: 'cron(0 0 0/2 1/1 * ? *)',
});
new aws.cloudwatch.EventTarget('myEvent' {
rule: eventRule.name,
// ...
});
what do I have to pass as arguments to the aws.cloudwatch.EventTarget
constructor to link the queue created above and the event?
Also, how do I specify the SQS message format?
Thank you!!