Class: AWSCDK::MediaPackagev2::CfnOriginEndpoint::DashDvbFontDownloadProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaPackagev2::CfnOriginEndpoint::DashDvbFontDownloadProperty
- Defined in:
- media_packagev2/cfn_origin_endpoint.rb
Overview
For use with DVB-DASH profiles only.
The settings for font downloads that you want AWS Elemental MediaPackage to pass through to the manifest.
Instance Attribute Summary collapse
-
#font_family ⇒ String?
readonly
The
fontFamilyname for subtitles, as described in EBU-TT-D Subtitling Distribution Format . -
#mime_type ⇒ String?
readonly
The
mimeTypeof the resource that's at the font download URL. -
#url ⇒ String?
readonly
The URL for downloading fonts for subtitles.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(font_family: nil, mime_type: nil, url: nil) ⇒ DashDvbFontDownloadProperty
constructor
A new instance of DashDvbFontDownloadProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(font_family: nil, mime_type: nil, url: nil) ⇒ DashDvbFontDownloadProperty
Returns a new instance of DashDvbFontDownloadProperty.
834 835 836 837 838 839 840 841 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 834 def initialize(font_family: nil, mime_type: nil, url: nil) @font_family = font_family Jsii::Type.check_type(@font_family, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fontFamily") unless @font_family.nil? @mime_type = mime_type Jsii::Type.check_type(@mime_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mimeType") unless @mime_type.nil? @url = url Jsii::Type.check_type(@url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "url") unless @url.nil? end |
Instance Attribute Details
#font_family ⇒ String? (readonly)
The fontFamily name for subtitles, as described in EBU-TT-D Subtitling Distribution Format .
847 848 849 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 847 def font_family @font_family end |
#mime_type ⇒ String? (readonly)
The mimeType of the resource that's at the font download URL.
For information about font MIME types, see the MPEG-DASH Profile for Transport of ISO BMFF Based DVB Services over IP Based Networks document.
854 855 856 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 854 def mime_type @mime_type end |
#url ⇒ String? (readonly)
The URL for downloading fonts for subtitles.
859 860 861 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 859 def url @url end |
Class Method Details
.jsii_properties ⇒ Object
861 862 863 864 865 866 867 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 861 def self.jsii_properties { :font_family => "fontFamily", :mime_type => "mimeType", :url => "url", } end |
Instance Method Details
#to_jsii ⇒ Object
869 870 871 872 873 874 875 876 877 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 869 def to_jsii result = {} result.merge!({ "fontFamily" => @font_family, "mimeType" => @mime_type, "url" => @url, }) result.compact end |