Class: AWSCDK::MediaTailor::CfnSourceLocation::DefaultSegmentDeliveryConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaTailor::CfnSourceLocation::DefaultSegmentDeliveryConfigurationProperty
- Defined in:
- media_tailor/cfn_source_location.rb
Overview
The optional configuration for a server that serves segments.
Use this if you want the segment delivery server to be different from the source location server. For example, you can configure your source location server to be an origination server, such as MediaPackage, and the segment delivery server to be a content delivery network (CDN), such as CloudFront. If you don't specify a segment delivery server, then the source location server is used.
Instance Attribute Summary collapse
-
#base_url ⇒ String?
readonly
The hostname of the server that will be used to serve segments.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(base_url: nil) ⇒ DefaultSegmentDeliveryConfigurationProperty
constructor
A new instance of DefaultSegmentDeliveryConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(base_url: nil) ⇒ DefaultSegmentDeliveryConfigurationProperty
Returns a new instance of DefaultSegmentDeliveryConfigurationProperty.
642 643 644 645 |
# File 'media_tailor/cfn_source_location.rb', line 642 def initialize(base_url: nil) @base_url = base_url Jsii::Type.check_type(@base_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "baseUrl") unless @base_url.nil? end |
Instance Attribute Details
#base_url ⇒ String? (readonly)
The hostname of the server that will be used to serve segments.
This string must include the protocol, such as https:// .
653 654 655 |
# File 'media_tailor/cfn_source_location.rb', line 653 def base_url @base_url end |
Class Method Details
.jsii_properties ⇒ Object
655 656 657 658 659 |
# File 'media_tailor/cfn_source_location.rb', line 655 def self.jsii_properties { :base_url => "baseUrl", } end |
Instance Method Details
#to_jsii ⇒ Object
661 662 663 664 665 666 667 |
# File 'media_tailor/cfn_source_location.rb', line 661 def to_jsii result = {} result.merge!({ "baseUrl" => @base_url, }) result.compact end |