Class: AWSCDK::MediaTailor::CfnChannel::HlsPlaylistSettingsProperty

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

Overview

HLS playlist configuration parameters.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ad_markup_type: nil, manifest_window_seconds: nil) ⇒ HlsPlaylistSettingsProperty

Returns a new instance of HlsPlaylistSettingsProperty.

Parameters:

  • ad_markup_type (Array<String>, nil) (defaults to: nil)

    Determines the type of SCTE 35 tags to use in ad markup.

  • manifest_window_seconds (Numeric, nil) (defaults to: nil)

    The total duration (in seconds) of each manifest.



724
725
726
727
728
729
# File 'media_tailor/cfn_channel.rb', line 724

def initialize(ad_markup_type: nil, manifest_window_seconds: nil)
  @ad_markup_type = ad_markup_type
  Jsii::Type.check_type(@ad_markup_type, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "adMarkupType") unless @ad_markup_type.nil?
  @manifest_window_seconds = manifest_window_seconds
  Jsii::Type.check_type(@manifest_window_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "manifestWindowSeconds") unless @manifest_window_seconds.nil?
end

Instance Attribute Details

#ad_markup_typeArray<String>? (readonly)

Determines the type of SCTE 35 tags to use in ad markup.

Specify DATERANGE to use DATERANGE tags (for live or VOD content). Specify SCTE35_ENHANCED to use EXT-X-CUE-OUT and EXT-X-CUE-IN tags (for VOD content only).



737
738
739
# File 'media_tailor/cfn_channel.rb', line 737

def ad_markup_type
  @ad_markup_type
end

#manifest_window_secondsNumeric? (readonly)

The total duration (in seconds) of each manifest.

Minimum value: 30 seconds. Maximum value: 3600 seconds.



744
745
746
# File 'media_tailor/cfn_channel.rb', line 744

def manifest_window_seconds
  @manifest_window_seconds
end

Class Method Details

.jsii_propertiesObject



746
747
748
749
750
751
# File 'media_tailor/cfn_channel.rb', line 746

def self.jsii_properties
  {
    :ad_markup_type => "adMarkupType",
    :manifest_window_seconds => "manifestWindowSeconds",
  }
end

Instance Method Details

#to_jsiiObject



753
754
755
756
757
758
759
760
# File 'media_tailor/cfn_channel.rb', line 753

def to_jsii
  result = {}
  result.merge!({
    "adMarkupType" => @ad_markup_type,
    "manifestWindowSeconds" => @manifest_window_seconds,
  })
  result.compact
end