Class: AWSCDK::KinesisAnalytics::CfnApplication::JSONMappingParametersProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(record_row_path:) ⇒ JSONMappingParametersProperty

Returns a new instance of JSONMappingParametersProperty.

Parameters:

  • record_row_path (String)

    Path to the top-level parent that contains the records.



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_pathString (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_propertiesObject



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_jsiiObject



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