UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

24 lines (23 loc) 881 B
import type { Construct } from 'constructs'; import type { DataProcessorBindOptions, DataProcessorConfig, DataProcessorProps, IDataProcessor } from '../processor'; /** * Options for CloudWatchLogProcessor. */ export interface CloudWatchLogProcessorOptions { /** * Extract message from CloudWatch logs. * This must be true. */ readonly dataMessageExtraction: boolean; } /** * The data processor to extract message after decompression of CloudWatch Logs. * This processor must used with `DecompressionProcessor` * * @see https://docs.aws.amazon.com/firehose/latest/dev/Message_extraction.html */ export declare class CloudWatchLogProcessor implements IDataProcessor { readonly props: DataProcessorProps; constructor(options: CloudWatchLogProcessorOptions); bind(_scope: Construct, _options: DataProcessorBindOptions): DataProcessorConfig; }