Class: AWSCDK::KinesisAnalytics::CfnApplicationOutput::DestinationSchemaProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalytics::CfnApplicationOutput::DestinationSchemaProperty
- 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
-
#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.
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_type ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |