Class: AWSCDK::MediaLive::CfnChannel::AudioHlsRenditionSelectionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::AudioHlsRenditionSelectionProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Selector for HLS audio rendition.
The parent of this entity is AudioSelectorSettings.
Instance Attribute Summary collapse
-
#group_id ⇒ String?
readonly
Specifies the GROUP-ID in the #EXT-X-MEDIA tag of the target HLS audio rendition.
-
#name ⇒ String?
readonly
Specifies the NAME in the #EXT-X-MEDIA tag of the target HLS audio rendition.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(group_id: nil, name: nil) ⇒ AudioHlsRenditionSelectionProperty
constructor
A new instance of AudioHlsRenditionSelectionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(group_id: nil, name: nil) ⇒ AudioHlsRenditionSelectionProperty
Returns a new instance of AudioHlsRenditionSelectionProperty.
1768 1769 1770 1771 1772 1773 |
# File 'media_live/cfn_channel.rb', line 1768 def initialize(group_id: nil, name: nil) @group_id = group_id Jsii::Type.check_type(@group_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "groupId") unless @group_id.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? end |
Instance Attribute Details
#group_id ⇒ String? (readonly)
Specifies the GROUP-ID in the #EXT-X-MEDIA tag of the target HLS audio rendition.
1779 1780 1781 |
# File 'media_live/cfn_channel.rb', line 1779 def group_id @group_id end |
#name ⇒ String? (readonly)
Specifies the NAME in the #EXT-X-MEDIA tag of the target HLS audio rendition.
1784 1785 1786 |
# File 'media_live/cfn_channel.rb', line 1784 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
1786 1787 1788 1789 1790 1791 |
# File 'media_live/cfn_channel.rb', line 1786 def self.jsii_properties { :group_id => "groupId", :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
1793 1794 1795 1796 1797 1798 1799 1800 |
# File 'media_live/cfn_channel.rb', line 1793 def to_jsii result = {} result.merge!({ "groupId" => @group_id, "name" => @name, }) result.compact end |