Class: AWSCDK::KinesisAnalytics::CfnApplication::JSONMappingParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalytics::CfnApplication::JSONMappingParametersProperty
- Defined in:
- kinesis_analytics/cfn_application.rb
Overview
Provides additional mapping information when JSON is the record format on the streaming source.
Instance Attribute Summary collapse
-
#record_row_path ⇒ String
readonly
Path to the top-level parent that contains the records.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(record_row_path:) ⇒ JSONMappingParametersProperty
constructor
A new instance of JSONMappingParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(record_row_path:) ⇒ JSONMappingParametersProperty
Returns a new instance of JSONMappingParametersProperty.
863 864 865 866 |
# File 'kinesis_analytics/cfn_application.rb', line 863 def initialize(record_row_path:) @record_row_path = record_row_path Jsii::Type.check_type(@record_row_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "recordRowPath") end |
Instance Attribute Details
#record_row_path ⇒ String (readonly)
Path to the top-level parent that contains the records.
872 873 874 |
# File 'kinesis_analytics/cfn_application.rb', line 872 def record_row_path @record_row_path end |
Class Method Details
.jsii_properties ⇒ Object
874 875 876 877 878 |
# File 'kinesis_analytics/cfn_application.rb', line 874 def self.jsii_properties { :record_row_path => "recordRowPath", } end |
Instance Method Details
#to_jsii ⇒ Object
880 881 882 883 884 885 886 |
# File 'kinesis_analytics/cfn_application.rb', line 880 def to_jsii result = {} result.merge!({ "recordRowPath" => @record_row_path, }) result.compact end |