Class: AWSCDK::MediaLive::CfnChannel::SmartSubtitleSourceSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::SmartSubtitleSourceSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Instance Attribute Summary collapse
- #caption_synchronization_mode ⇒ String? readonly
- #inference_feed_output ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(caption_synchronization_mode: nil, inference_feed_output: nil) ⇒ SmartSubtitleSourceSettingsProperty
constructor
A new instance of SmartSubtitleSourceSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(caption_synchronization_mode: nil, inference_feed_output: nil) ⇒ SmartSubtitleSourceSettingsProperty
Returns a new instance of SmartSubtitleSourceSettingsProperty.
13078 13079 13080 13081 13082 13083 |
# File 'media_live/cfn_channel.rb', line 13078 def initialize(caption_synchronization_mode: nil, inference_feed_output: nil) @caption_synchronization_mode = caption_synchronization_mode Jsii::Type.check_type(@caption_synchronization_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "captionSynchronizationMode") unless @caption_synchronization_mode.nil? @inference_feed_output = inference_feed_output Jsii::Type.check_type(@inference_feed_output, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inferenceFeedOutput") unless @inference_feed_output.nil? end |
Instance Attribute Details
#caption_synchronization_mode ⇒ String? (readonly)
13087 13088 13089 |
# File 'media_live/cfn_channel.rb', line 13087 def caption_synchronization_mode @caption_synchronization_mode end |
#inference_feed_output ⇒ String? (readonly)
13090 13091 13092 |
# File 'media_live/cfn_channel.rb', line 13090 def inference_feed_output @inference_feed_output end |
Class Method Details
.jsii_properties ⇒ Object
13092 13093 13094 13095 13096 13097 |
# File 'media_live/cfn_channel.rb', line 13092 def self.jsii_properties { :caption_synchronization_mode => "captionSynchronizationMode", :inference_feed_output => "inferenceFeedOutput", } end |
Instance Method Details
#to_jsii ⇒ Object
13099 13100 13101 13102 13103 13104 13105 13106 |
# File 'media_live/cfn_channel.rb', line 13099 def to_jsii result = {} result.merge!({ "captionSynchronizationMode" => @caption_synchronization_mode, "inferenceFeedOutput" => @inference_feed_output, }) result.compact end |