Class: AWSCDK::MediaLive::CfnChannel::AudioTrackSelectionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::AudioTrackSelectionProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Information about the audio track to extract.
The parent of this entity is AudioSelectorSettings.
Instance Attribute Summary collapse
- #dolby_e_decode ⇒ AWSCDK::IResolvable, ... readonly
-
#tracks ⇒ AWSCDK::IResolvable, ...
readonly
Selects one or more unique audio tracks from within a source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(dolby_e_decode: nil, tracks: nil) ⇒ AudioTrackSelectionProperty
constructor
A new instance of AudioTrackSelectionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(dolby_e_decode: nil, tracks: nil) ⇒ AudioTrackSelectionProperty
Returns a new instance of AudioTrackSelectionProperty.
2349 2350 2351 2352 2353 2354 |
# File 'media_live/cfn_channel.rb', line 2349 def initialize(dolby_e_decode: nil, tracks: nil) @dolby_e_decode = dolby_e_decode.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::AudioDolbyEDecodeProperty.new(**dolby_e_decode.transform_keys(&:to_sym)) : dolby_e_decode Jsii::Type.check_type(@dolby_e_decode, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5BdWRpb0RvbGJ5RURlY29kZVByb3BlcnR5In1dfX0=")), "dolbyEDecode") unless @dolby_e_decode.nil? @tracks = tracks Jsii::Type.check_type(@tracks, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFsaXZlLkNmbkNoYW5uZWwuQXVkaW9UcmFja1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "tracks") unless @tracks.nil? end |
Instance Attribute Details
#dolby_e_decode ⇒ AWSCDK::IResolvable, ... (readonly)
2358 2359 2360 |
# File 'media_live/cfn_channel.rb', line 2358 def dolby_e_decode @dolby_e_decode end |
#tracks ⇒ AWSCDK::IResolvable, ... (readonly)
Selects one or more unique audio tracks from within a source.
2363 2364 2365 |
# File 'media_live/cfn_channel.rb', line 2363 def tracks @tracks end |
Class Method Details
.jsii_properties ⇒ Object
2365 2366 2367 2368 2369 2370 |
# File 'media_live/cfn_channel.rb', line 2365 def self.jsii_properties { :dolby_e_decode => "dolbyEDecode", :tracks => "tracks", } end |
Instance Method Details
#to_jsii ⇒ Object
2372 2373 2374 2375 2376 2377 2378 2379 |
# File 'media_live/cfn_channel.rb', line 2372 def to_jsii result = {} result.merge!({ "dolbyEDecode" => @dolby_e_decode, "tracks" => @tracks, }) result.compact end |