Class: AWSCDK::KinesisFirehose::CfnDeliveryStream::ProcessorProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisFirehose::CfnDeliveryStream::ProcessorProperty
- Defined in:
- kinesis_firehose/cfn_delivery_stream.rb
Overview
The Processor property specifies a data processor for an Amazon Kinesis Data Firehose delivery stream.
Instance Attribute Summary collapse
-
#parameters ⇒ AWSCDK::IResolvable, ...
readonly
The processor parameters.
-
#type ⇒ String
readonly
The type of processor.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, parameters: nil) ⇒ ProcessorProperty
constructor
A new instance of ProcessorProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:, parameters: nil) ⇒ ProcessorProperty
Returns a new instance of ProcessorProperty.
3879 3880 3881 3882 3883 3884 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3879 def initialize(type:, parameters: nil) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @parameters = parameters Jsii::Type.check_type(@parameters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfa2luZXNpc2ZpcmVob3NlLkNmbkRlbGl2ZXJ5U3RyZWFtLlByb2Nlc3NvclBhcmFtZXRlclByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "parameters") unless @parameters.nil? end |
Instance Attribute Details
#parameters ⇒ AWSCDK::IResolvable, ... (readonly)
The processor parameters.
3897 3898 3899 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3897 def parameters @parameters end |
#type ⇒ String (readonly)
The type of processor.
Valid values: Lambda .
3892 3893 3894 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3892 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
3899 3900 3901 3902 3903 3904 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3899 def self.jsii_properties { :type => "type", :parameters => "parameters", } end |
Instance Method Details
#to_jsii ⇒ Object
3906 3907 3908 3909 3910 3911 3912 3913 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3906 def to_jsii result = {} result.merge!({ "type" => @type, "parameters" => @parameters, }) result.compact end |