Class: AWSCDK::KinesisFirehose::CloudWatchLogProcessorOptions
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisFirehose::CloudWatchLogProcessorOptions
- Defined in:
- kinesis_firehose/cloud_watch_log_processor_options.rb
Overview
Options for CloudWatchLogProcessor.
Instance Attribute Summary collapse
-
#data_message_extraction ⇒ Boolean
readonly
Extract message from CloudWatch logs.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data_message_extraction:) ⇒ CloudWatchLogProcessorOptions
constructor
A new instance of CloudWatchLogProcessorOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(data_message_extraction:) ⇒ CloudWatchLogProcessorOptions
Returns a new instance of CloudWatchLogProcessorOptions.
8 9 10 11 |
# File 'kinesis_firehose/cloud_watch_log_processor_options.rb', line 8 def initialize(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_extraction ⇒ Boolean (readonly)
Extract message from CloudWatch logs.
This must be true.
18 19 20 |
# File 'kinesis_firehose/cloud_watch_log_processor_options.rb', line 18 def @data_message_extraction end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |