Module: AWSCDK::KinesisFirehose::IDataProcessor
- Included in:
- AppendDelimiterToRecordProcessor, CloudWatchLogProcessor, DecompressionProcessor, LambdaFunctionProcessor, MetadataExtractionProcessor, RecordDeAggregationProcessor
- Defined in:
- kinesis_firehose/i_data_processor.rb
Overview
A data processor that Amazon Data Firehose will call to transform records before delivering data.
Class Method Summary collapse
Instance Method Summary collapse
-
#bind(scope, options) ⇒ AWSCDK::KinesisFirehose::DataProcessorConfig
Binds this processor to a destination of a delivery stream.
-
#props ⇒ AWSCDK::KinesisFirehose::DataProcessorProps
The constructor props of the DataProcessor.
Class Method Details
.jsii_overridable_methods ⇒ Object
29 30 31 32 33 34 |
# File 'kinesis_firehose/i_data_processor.rb', line 29 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.
22 23 24 25 26 27 |
# File 'kinesis_firehose/i_data_processor.rb', line 22 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.
10 11 12 |
# File 'kinesis_firehose/i_data_processor.rb', line 10 def props() jsii_get_property("props") end |