Class: AWSCDK::MediaLive::CfnChannel::AudioHlsRenditionSelectionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_channel.rb

Overview

Selector for HLS audio rendition.

The parent of this entity is AudioSelectorSettings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(group_id: nil, name: nil) ⇒ AudioHlsRenditionSelectionProperty

Returns a new instance of AudioHlsRenditionSelectionProperty.

Parameters:

  • group_id (String, nil) (defaults to: nil)

    Specifies the GROUP-ID in the #EXT-X-MEDIA tag of the target HLS audio rendition.

  • name (String, nil) (defaults to: nil)

    Specifies the NAME in the #EXT-X-MEDIA tag of the target HLS audio rendition.



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_idString? (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

#nameString? (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_propertiesObject



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_jsiiObject



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