Class: AWSCDK::MediaTailor::CfnVodSource::HttpPackageConfigurationProperty

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

Overview

The HTTP package configuration properties for the requested VOD source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path:, source_group:, type:) ⇒ HttpPackageConfigurationProperty

Returns a new instance of HttpPackageConfigurationProperty.

Parameters:

  • path (String)

    The relative path to the URL for this VOD source.

  • source_group (String)

    The name of the source group.

  • type (String)

    The streaming protocol for this package configuration.



558
559
560
561
562
563
564
565
# File 'media_tailor/cfn_vod_source.rb', line 558

def initialize(path:, source_group:, type:)
  @path = path
  Jsii::Type.check_type(@path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "path")
  @source_group = source_group
  Jsii::Type.check_type(@source_group, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceGroup")
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type")
end

Instance Attribute Details

#pathString (readonly)

The relative path to the URL for this VOD source.

This is combined with SourceLocation::HttpConfiguration::BaseUrl to form a valid URL.



573
574
575
# File 'media_tailor/cfn_vod_source.rb', line 573

def path
  @path
end

#source_groupString (readonly)

The name of the source group.

This has to match one of the Channel::Outputs::SourceGroup .



580
581
582
# File 'media_tailor/cfn_vod_source.rb', line 580

def source_group
  @source_group
end

#typeString (readonly)

The streaming protocol for this package configuration.

Supported values are HLS and DASH .



587
588
589
# File 'media_tailor/cfn_vod_source.rb', line 587

def type
  @type
end

Class Method Details

.jsii_propertiesObject



589
590
591
592
593
594
595
# File 'media_tailor/cfn_vod_source.rb', line 589

def self.jsii_properties
  {
    :path => "path",
    :source_group => "sourceGroup",
    :type => "type",
  }
end

Instance Method Details

#to_jsiiObject



597
598
599
600
601
602
603
604
605
# File 'media_tailor/cfn_vod_source.rb', line 597

def to_jsii
  result = {}
  result.merge!({
    "path" => @path,
    "sourceGroup" => @source_group,
    "type" => @type,
  })
  result.compact
end