Class: AWSCDK::MediaTailor::CfnChannel::RequestOutputItemProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaTailor::CfnChannel::RequestOutputItemProperty
- Defined in:
- media_tailor/cfn_channel.rb
Overview
The output configuration for this channel.
Instance Attribute Summary collapse
-
#dash_playlist_settings ⇒ AWSCDK::IResolvable, ...
readonly
DASH manifest configuration parameters.
-
#hls_playlist_settings ⇒ AWSCDK::IResolvable, ...
readonly
HLS playlist configuration parameters.
-
#manifest_name ⇒ String
readonly
The name of the manifest for the channel.
-
#source_group ⇒ String
readonly
A string used to match which
HttpPackageConfigurationis used for eachVodSource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(manifest_name:, source_group:, dash_playlist_settings: nil, hls_playlist_settings: nil) ⇒ RequestOutputItemProperty
constructor
A new instance of RequestOutputItemProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(manifest_name:, source_group:, dash_playlist_settings: nil, hls_playlist_settings: nil) ⇒ RequestOutputItemProperty
Returns a new instance of RequestOutputItemProperty.
806 807 808 809 810 811 812 813 814 815 |
# File 'media_tailor/cfn_channel.rb', line 806 def initialize(manifest_name:, source_group:, dash_playlist_settings: nil, hls_playlist_settings: nil) @manifest_name = manifest_name Jsii::Type.check_type(@manifest_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "manifestName") @source_group = source_group Jsii::Type.check_type(@source_group, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceGroup") @dash_playlist_settings = dash_playlist_settings.is_a?(Hash) ? ::AWSCDK::MediaTailor::CfnChannel::DashPlaylistSettingsProperty.new(**dash_playlist_settings.transform_keys(&:to_sym)) : dash_playlist_settings Jsii::Type.check_type(@dash_playlist_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYXRhaWxvci5DZm5DaGFubmVsLkRhc2hQbGF5bGlzdFNldHRpbmdzUHJvcGVydHkifV19fQ==")), "dashPlaylistSettings") unless @dash_playlist_settings.nil? @hls_playlist_settings = hls_playlist_settings.is_a?(Hash) ? ::AWSCDK::MediaTailor::CfnChannel::HlsPlaylistSettingsProperty.new(**hls_playlist_settings.transform_keys(&:to_sym)) : hls_playlist_settings Jsii::Type.check_type(@hls_playlist_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYXRhaWxvci5DZm5DaGFubmVsLkhsc1BsYXlsaXN0U2V0dGluZ3NQcm9wZXJ0eSJ9XX19")), "hlsPlaylistSettings") unless @hls_playlist_settings.nil? end |
Instance Attribute Details
#dash_playlist_settings ⇒ AWSCDK::IResolvable, ... (readonly)
DASH manifest configuration parameters.
833 834 835 |
# File 'media_tailor/cfn_channel.rb', line 833 def dash_playlist_settings @dash_playlist_settings end |
#hls_playlist_settings ⇒ AWSCDK::IResolvable, ... (readonly)
HLS playlist configuration parameters.
838 839 840 |
# File 'media_tailor/cfn_channel.rb', line 838 def hls_playlist_settings @hls_playlist_settings end |
#manifest_name ⇒ String (readonly)
The name of the manifest for the channel.
The name appears in the PlaybackUrl .
823 824 825 |
# File 'media_tailor/cfn_channel.rb', line 823 def manifest_name @manifest_name end |
#source_group ⇒ String (readonly)
A string used to match which HttpPackageConfiguration is used for each VodSource .
828 829 830 |
# File 'media_tailor/cfn_channel.rb', line 828 def source_group @source_group end |
Class Method Details
.jsii_properties ⇒ Object
840 841 842 843 844 845 846 847 |
# File 'media_tailor/cfn_channel.rb', line 840 def self.jsii_properties { :manifest_name => "manifestName", :source_group => "sourceGroup", :dash_playlist_settings => "dashPlaylistSettings", :hls_playlist_settings => "hlsPlaylistSettings", } end |
Instance Method Details
#to_jsii ⇒ Object
849 850 851 852 853 854 855 856 857 858 |
# File 'media_tailor/cfn_channel.rb', line 849 def to_jsii result = {} result.merge!({ "manifestName" => @manifest_name, "sourceGroup" => @source_group, "dashPlaylistSettings" => @dash_playlist_settings, "hlsPlaylistSettings" => @hls_playlist_settings, }) result.compact end |