Class: AWSCDK::KinesisAnalytics::CfnApplicationOutputV2::DestinationSchemaProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalytics::CfnApplicationOutputV2::DestinationSchemaProperty
- Defined in:
- kinesis_analytics/cfn_application_output_v2.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.
521 522 523 524 |
# File 'kinesis_analytics/cfn_application_output_v2.rb', line 521 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.
530 531 532 |
# File 'kinesis_analytics/cfn_application_output_v2.rb', line 530 def record_format_type @record_format_type end |
Class Method Details
.jsii_properties ⇒ Object
532 533 534 535 536 |
# File 'kinesis_analytics/cfn_application_output_v2.rb', line 532 def self.jsii_properties { :record_format_type => "recordFormatType", } end |
Instance Method Details
#to_jsii ⇒ Object
538 539 540 541 542 543 544 |
# File 'kinesis_analytics/cfn_application_output_v2.rb', line 538 def to_jsii result = {} result.merge!({ "recordFormatType" => @record_format_type, }) result.compact end |