Class: AWSCDK::MediaTailor::CfnSourceLocation::SegmentDeliveryConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaTailor::CfnSourceLocation::SegmentDeliveryConfigurationProperty
- Defined in:
- media_tailor/cfn_source_location.rb
Overview
The segment delivery configuration settings.
Instance Attribute Summary collapse
-
#base_url ⇒ String?
readonly
The base URL of the host or path of the segment delivery server that you're using to serve segments.
-
#name ⇒ String?
readonly
A unique identifier used to distinguish between multiple segment delivery configurations in a source location.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(base_url: nil, name: nil) ⇒ SegmentDeliveryConfigurationProperty
constructor
A new instance of SegmentDeliveryConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(base_url: nil, name: nil) ⇒ SegmentDeliveryConfigurationProperty
Returns a new instance of SegmentDeliveryConfigurationProperty.
768 769 770 771 772 773 |
# File 'media_tailor/cfn_source_location.rb', line 768 def initialize(base_url: nil, name: nil) @base_url = base_url Jsii::Type.check_type(@base_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "baseUrl") unless @base_url.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? end |
Instance Attribute Details
#base_url ⇒ String? (readonly)
The base URL of the host or path of the segment delivery server that you're using to serve segments.
This is typically a content delivery network (CDN). The URL can be absolute or relative. To use an absolute URL include the protocol, such as https://example.com/some/path . To use a relative URL specify the relative path, such as /some/path* .
781 782 783 |
# File 'media_tailor/cfn_source_location.rb', line 781 def base_url @base_url end |
#name ⇒ String? (readonly)
A unique identifier used to distinguish between multiple segment delivery configurations in a source location.
786 787 788 |
# File 'media_tailor/cfn_source_location.rb', line 786 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
788 789 790 791 792 793 |
# File 'media_tailor/cfn_source_location.rb', line 788 def self.jsii_properties { :base_url => "baseUrl", :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
795 796 797 798 799 800 801 802 |
# File 'media_tailor/cfn_source_location.rb', line 795 def to_jsii result = {} result.merge!({ "baseUrl" => @base_url, "name" => @name, }) result.compact end |