Class: AWSCDK::KinesisFirehose::AppendDelimiterToRecordProcessor
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::KinesisFirehose::AppendDelimiterToRecordProcessor
- Includes:
- IDataProcessor
- Defined in:
- kinesis_firehose/append_delimiter_to_record_processor.rb
Overview
The data processor to append new line delimiter to each record.
Class Method Summary collapse
Instance Method Summary collapse
-
#bind(_scope, _options) ⇒ AWSCDK::KinesisFirehose::DataProcessorConfig
Binds this processor to a destination of a delivery stream.
-
#initialize ⇒ AppendDelimiterToRecordProcessor
constructor
A new instance of AppendDelimiterToRecordProcessor.
-
#props ⇒ AWSCDK::KinesisFirehose::DataProcessorProps
The constructor props of the DataProcessor.
Constructor Details
#initialize ⇒ AppendDelimiterToRecordProcessor
Returns a new instance of AppendDelimiterToRecordProcessor.
11 12 13 |
# File 'kinesis_firehose/append_delimiter_to_record_processor.rb', line 11 def initialize Jsii::Object.instance_method(:initialize).bind(self).call end |
Class Method Details
.jsii_overridable_methods ⇒ Object
15 16 17 18 19 20 |
# File 'kinesis_firehose/append_delimiter_to_record_processor.rb', line 15 def self.jsii_overridable_methods { :props => { kind: :property, name: "props", is_optional: false }, :bind => { kind: :method, name: "bind", is_optional: false }, } end |
Instance Method Details
#bind(_scope, _options) ⇒ AWSCDK::KinesisFirehose::DataProcessorConfig
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.
37 38 39 40 41 42 |
# File 'kinesis_firehose/append_delimiter_to_record_processor.rb', line 37 def bind(_scope, ) Jsii::Type.check_type(_scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "_scope") = .is_a?(Hash) ? ::AWSCDK::KinesisFirehose::DataProcessorBindOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfa2luZXNpc2ZpcmVob3NlLkRhdGFQcm9jZXNzb3JCaW5kT3B0aW9ucyJ9")), "_options") jsii_call_method("bind", [_scope, ]) end |
#props ⇒ AWSCDK::KinesisFirehose::DataProcessorProps
The constructor props of the DataProcessor.
25 26 27 |
# File 'kinesis_firehose/append_delimiter_to_record_processor.rb', line 25 def props() jsii_get_property("props") end |