Class: AWSCDK::MediaTailor::CfnLiveSource::HttpPackageConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaTailor::CfnLiveSource::HttpPackageConfigurationProperty
- Defined in:
- media_tailor/cfn_live_source.rb
Overview
The HTTP package configuration properties for the requested VOD source.
Instance Attribute Summary collapse
-
#path ⇒ String
readonly
The relative path to the URL for this VOD source.
-
#source_group ⇒ String
readonly
The name of the source group.
-
#type ⇒ String
readonly
The streaming protocol for this package configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(path:, source_group:, type:) ⇒ HttpPackageConfigurationProperty
constructor
A new instance of HttpPackageConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(path:, source_group:, type:) ⇒ HttpPackageConfigurationProperty
Returns a new instance of HttpPackageConfigurationProperty.
558 559 560 561 562 563 564 565 |
# File 'media_tailor/cfn_live_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
#path ⇒ String (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_live_source.rb', line 573 def path @path end |
#source_group ⇒ String (readonly)
The name of the source group.
This has to match one of the Channel::Outputs::SourceGroup .
580 581 582 |
# File 'media_tailor/cfn_live_source.rb', line 580 def source_group @source_group end |
#type ⇒ String (readonly)
The streaming protocol for this package configuration.
Supported values are HLS and DASH .
587 588 589 |
# File 'media_tailor/cfn_live_source.rb', line 587 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
589 590 591 592 593 594 595 |
# File 'media_tailor/cfn_live_source.rb', line 589 def self.jsii_properties { :path => "path", :source_group => "sourceGroup", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
597 598 599 600 601 602 603 604 605 |
# File 'media_tailor/cfn_live_source.rb', line 597 def to_jsii result = {} result.merge!({ "path" => @path, "sourceGroup" => @source_group, "type" => @type, }) result.compact end |