This AWS CDK Construct is a function that serves as a subscription destination for logs output to CloudWatch Logs by a Node.js-based Lambda function. It simply decompresses and parses the received logs as JSON, then outputs the result as a success action of the Lambda function.
npm install @gammarers/aws-log-stream-event-trigger
yarn add @gammarers/aws-log-stream-event-trigger
import { LogStreamEventTrigger } from '@gammarers/aws-log-stream-event-trigger';
new LogStreamEventTrigger(stack, 'LogStreamEventTrigger');
This project is licensed under the Apache-2.0 License.