Class CloudWatchLogProcessor

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.kinesisfirehose.CloudWatchLogProcessor
All Implemented Interfaces:
IDataProcessor, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)", date="2025-11-04T09:27:44.108Z") @Stability(Stable) public class CloudWatchLogProcessor extends software.amazon.jsii.JsiiObject implements IDataProcessor
The data processor to extract message after decompression of CloudWatch Logs.

This processor must used with DecompressionProcessor

Example:

 Bucket bucket;
 S3Bucket s3Destination = S3Bucket.Builder.create(bucket)
         .processors(List.of(
             new DecompressionProcessor(),
             CloudWatchLogProcessor.Builder.create().dataMessageExtraction(true).build()))
         .build();
 DeliveryStream.Builder.create(this, "Delivery Stream")
         .destination(s3Destination)
         .build();
 

See Also:
  • Constructor Details

    • CloudWatchLogProcessor

      protected CloudWatchLogProcessor(software.amazon.jsii.JsiiObjectRef objRef)
    • CloudWatchLogProcessor

      protected CloudWatchLogProcessor(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CloudWatchLogProcessor

      @Stability(Stable) public CloudWatchLogProcessor(@NotNull CloudWatchLogProcessorOptions options)
      Parameters:
      options - This parameter is required.
  • Method Details

    • bind

      @Stability(Stable) @NotNull public DataProcessorConfig bind(@NotNull software.constructs.Construct _scope, @NotNull DataProcessorBindOptions _options)
      Binds this processor to a destination of a delivery stream.

      Implementers should use this method to grant processor invocation permissions to the provided stream and return the necessary configuration to register as a processor.

      Specified by:
      bind in interface IDataProcessor
      Parameters:
      _scope - This parameter is required.
      _options - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull public DataProcessorProps getProps()
      The constructor props of the DataProcessor.
      Specified by:
      getProps in interface IDataProcessor