Class: AWSCDK::KinesisAnalytics::CfnApplicationV2::InputProcessingConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalytics::CfnApplicationV2::InputProcessingConfigurationProperty
- Defined in:
- kinesis_analytics/cfn_application_v2.rb
Overview
For an SQL-based Amazon Kinesis Data Analytics application, describes 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 Amazon 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.
1517 1518 1519 1520 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 1517 def initialize(input_lambda_processor: nil) @input_lambda_processor = input_lambda_processor.is_a?(Hash) ? ::AWSCDK::KinesisAnalytics::CfnApplicationV2::InputLambdaProcessorProperty.new(**input_lambda_processor.transform_keys(&:to_sym)) : input_lambda_processor Jsii::Type.check_type(@input_lambda_processor, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19raW5lc2lzYW5hbHl0aWNzLkNmbkFwcGxpY2F0aW9uVjIuSW5wdXRMYW1iZGFQcm9jZXNzb3JQcm9wZXJ0eSJ9XX19")), "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.
1526 1527 1528 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 1526 def input_lambda_processor @input_lambda_processor end |
Class Method Details
.jsii_properties ⇒ Object
1528 1529 1530 1531 1532 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 1528 def self.jsii_properties { :input_lambda_processor => "inputLambdaProcessor", } end |
Instance Method Details
#to_jsii ⇒ Object
1534 1535 1536 1537 1538 1539 1540 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 1534 def to_jsii result = {} result.merge!({ "inputLambdaProcessor" => @input_lambda_processor, }) result.compact end |