Class: AWSCDK::KinesisFirehose::CloudWatchLogProcessorOptions

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kinesis_firehose/cloud_watch_log_processor_options.rb

Overview

Options for CloudWatchLogProcessor.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data_message_extraction:) ⇒ CloudWatchLogProcessorOptions

Returns a new instance of CloudWatchLogProcessorOptions.

Parameters:

  • data_message_extraction (Boolean)

    Extract message from CloudWatch logs.



8
9
10
11
# File 'kinesis_firehose/cloud_watch_log_processor_options.rb', line 8

def initialize(data_message_extraction:)
  @data_message_extraction = data_message_extraction
  Jsii::Type.check_type(@data_message_extraction, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "dataMessageExtraction")
end

Instance Attribute Details

#data_message_extractionBoolean (readonly)

Extract message from CloudWatch logs.

This must be true.

Returns:

  • (Boolean)


18
19
20
# File 'kinesis_firehose/cloud_watch_log_processor_options.rb', line 18

def data_message_extraction
  @data_message_extraction
end

Class Method Details

.jsii_propertiesObject



20
21
22
23
24
# File 'kinesis_firehose/cloud_watch_log_processor_options.rb', line 20

def self.jsii_properties
  {
    :data_message_extraction => "dataMessageExtraction",
  }
end

Instance Method Details

#to_jsiiObject



26
27
28
29
30
31
32
# File 'kinesis_firehose/cloud_watch_log_processor_options.rb', line 26

def to_jsii
  result = {}
  result.merge!({
    "dataMessageExtraction" => @data_message_extraction,
  })
  result.compact
end