Class: AWSCDK::KinesisAnalytics::CfnApplication::InputProcessingConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalytics::CfnApplication::InputProcessingConfigurationProperty
- Defined in:
- kinesis_analytics/cfn_application.rb
Overview
Provides a description of a processor that is used to preprocess the records in the stream before being processed by your application code.
Currently, the only input processor available is AWS Lambda .
Instance Attribute Summary collapse
-
#input_lambda_processor ⇒ AWSCDK::IResolvable, ...
readonly
The InputLambdaProcessor that is used to preprocess the records in the stream before being processed by your application code.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(input_lambda_processor: nil) ⇒ InputProcessingConfigurationProperty
constructor
A new instance of InputProcessingConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(input_lambda_processor: nil) ⇒ InputProcessingConfigurationProperty
Returns a new instance of InputProcessingConfigurationProperty.
676 677 678 679 |
# File 'kinesis_analytics/cfn_application.rb', line 676 def initialize(input_lambda_processor: nil) @input_lambda_processor = input_lambda_processor.is_a?(Hash) ? ::AWSCDK::KinesisAnalytics::CfnApplication::InputLambdaProcessorProperty.new(**input_lambda_processor.transform_keys(&:to_sym)) : input_lambda_processor Jsii::Type.check_type(@input_lambda_processor, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19raW5lc2lzYW5hbHl0aWNzLkNmbkFwcGxpY2F0aW9uLklucHV0TGFtYmRhUHJvY2Vzc29yUHJvcGVydHkifV19fQ==")), "inputLambdaProcessor") unless @input_lambda_processor.nil? end |
Instance Attribute Details
#input_lambda_processor ⇒ AWSCDK::IResolvable, ... (readonly)
The InputLambdaProcessor that is used to preprocess the records in the stream before being processed by your application code.
685 686 687 |
# File 'kinesis_analytics/cfn_application.rb', line 685 def input_lambda_processor @input_lambda_processor end |
Class Method Details
.jsii_properties ⇒ Object
687 688 689 690 691 |
# File 'kinesis_analytics/cfn_application.rb', line 687 def self.jsii_properties { :input_lambda_processor => "inputLambdaProcessor", } end |
Instance Method Details
#to_jsii ⇒ Object
693 694 695 696 697 698 699 |
# File 'kinesis_analytics/cfn_application.rb', line 693 def to_jsii result = {} result.merge!({ "inputLambdaProcessor" => @input_lambda_processor, }) result.compact end |