Class: AWSCDK::KinesisAnalyticsv2::CfnApplicationOutput::DestinationSchemaProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kinesis_analyticsv2/cfn_application_output.rb

Overview

Describes the data format when records are written to the destination in a SQL-based Kinesis Data Analytics application.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(record_format_type: nil) ⇒ DestinationSchemaProperty

Returns a new instance of DestinationSchemaProperty.

Parameters:

  • record_format_type (String, nil) (defaults to: nil)

    Specifies the format of the records on the output stream.



520
521
522
523
# File 'kinesis_analyticsv2/cfn_application_output.rb', line 520

def initialize(record_format_type: nil)
  @record_format_type = record_format_type
  Jsii::Type.check_type(@record_format_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "recordFormatType") unless @record_format_type.nil?
end

Instance Attribute Details

#record_format_typeString? (readonly)

Specifies the format of the records on the output stream.



529
530
531
# File 'kinesis_analyticsv2/cfn_application_output.rb', line 529

def record_format_type
  @record_format_type
end

Class Method Details

.jsii_propertiesObject



531
532
533
534
535
# File 'kinesis_analyticsv2/cfn_application_output.rb', line 531

def self.jsii_properties
  {
    :record_format_type => "recordFormatType",
  }
end

Instance Method Details

#to_jsiiObject



537
538
539
540
541
542
543
# File 'kinesis_analyticsv2/cfn_application_output.rb', line 537

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