Class: AWSCDK::KinesisAnalytics::CfnApplicationV2::JSONMappingParametersProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kinesis_analytics/cfn_application_v2.rb

Overview

For a SQL-based Kinesis Data Analytics application, 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)

    The path to the top-level parent that contains the records.



1692
1693
1694
1695
# File 'kinesis_analytics/cfn_application_v2.rb', line 1692

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)

The path to the top-level parent that contains the records.



1701
1702
1703
# File 'kinesis_analytics/cfn_application_v2.rb', line 1701

def record_row_path
  @record_row_path
end

Class Method Details

.jsii_propertiesObject



1703
1704
1705
1706
1707
# File 'kinesis_analytics/cfn_application_v2.rb', line 1703

def self.jsii_properties
  {
    :record_row_path => "recordRowPath",
  }
end

Instance Method Details

#to_jsiiObject



1709
1710
1711
1712
1713
1714
1715
# File 'kinesis_analytics/cfn_application_v2.rb', line 1709

def to_jsii
  result = {}
  result.merge!({
    "recordRowPath" => @record_row_path,
  })
  result.compact
end