Class: AWSCDK::KinesisAnalytics::CfnApplicationOutput::DestinationSchemaProperty

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

Overview

Describes the data format when records are written to the destination.

For more information, see Configuring Application Output .

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.



524
525
526
527
# File 'kinesis_analytics/cfn_application_output.rb', line 524

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.



533
534
535
# File 'kinesis_analytics/cfn_application_output.rb', line 533

def record_format_type
  @record_format_type
end

Class Method Details

.jsii_propertiesObject



535
536
537
538
539
# File 'kinesis_analytics/cfn_application_output.rb', line 535

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

Instance Method Details

#to_jsiiObject



541
542
543
544
545
546
547
# File 'kinesis_analytics/cfn_application_output.rb', line 541

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