Class: AWSCDK::MediaLive::CfnChannel::StandardHlsSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::StandardHlsSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The configuration of an HLS output that is a standard output (not an audio-only output).
The parent of this entity is HlsSettings.
Instance Attribute Summary collapse
-
#audio_rendition_sets ⇒ String?
readonly
Lists all the audio groups that are used with the video output stream.
-
#m3_u8_settings ⇒ AWSCDK::IResolvable, ...
readonly
Settings for the M3U8 container.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(audio_rendition_sets: nil, m3_u8_settings: nil) ⇒ StandardHlsSettingsProperty
constructor
A new instance of StandardHlsSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(audio_rendition_sets: nil, m3_u8_settings: nil) ⇒ StandardHlsSettingsProperty
Returns a new instance of StandardHlsSettingsProperty.
13291 13292 13293 13294 13295 13296 |
# File 'media_live/cfn_channel.rb', line 13291 def initialize(audio_rendition_sets: nil, m3_u8_settings: nil) @audio_rendition_sets = audio_rendition_sets Jsii::Type.check_type(@audio_rendition_sets, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "audioRenditionSets") unless @audio_rendition_sets.nil? @m3_u8_settings = m3_u8_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::M3u8SettingsProperty.new(**m3_u8_settings.transform_keys(&:to_sym)) : m3_u8_settings Jsii::Type.check_type(@m3_u8_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5NM3U4U2V0dGluZ3NQcm9wZXJ0eSJ9XX19")), "m3U8Settings") unless @m3_u8_settings.nil? end |
Instance Attribute Details
#audio_rendition_sets ⇒ String? (readonly)
Lists all the audio groups that are used with the video output stream.
This inputs all the audio GROUP-IDs that are associated with the video, separated by a comma (,).
13304 13305 13306 |
# File 'media_live/cfn_channel.rb', line 13304 def audio_rendition_sets @audio_rendition_sets end |
#m3_u8_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Settings for the M3U8 container.
13309 13310 13311 |
# File 'media_live/cfn_channel.rb', line 13309 def m3_u8_settings @m3_u8_settings end |
Class Method Details
.jsii_properties ⇒ Object
13311 13312 13313 13314 13315 13316 |
# File 'media_live/cfn_channel.rb', line 13311 def self.jsii_properties { :audio_rendition_sets => "audioRenditionSets", :m3_u8_settings => "m3U8Settings", } end |
Instance Method Details
#to_jsii ⇒ Object
13318 13319 13320 13321 13322 13323 13324 13325 |
# File 'media_live/cfn_channel.rb', line 13318 def to_jsii result = {} result.merge!({ "audioRenditionSets" => @audio_rendition_sets, "m3U8Settings" => @m3_u8_settings, }) result.compact end |