Class: AWSCDK::KinesisAnalyticsv2::CfnApplicationOutput::DestinationSchemaProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalyticsv2::CfnApplicationOutput::DestinationSchemaProperty
- 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
-
#record_format_type ⇒ String?
readonly
Specifies the format of the records on the output stream.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(record_format_type: nil) ⇒ DestinationSchemaProperty
constructor
A new instance of DestinationSchemaProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(record_format_type: nil) ⇒ DestinationSchemaProperty
Returns a new instance of DestinationSchemaProperty.
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_type ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |