Class: AWSCDK::MediaTailor::CfnPlaybackConfiguration::AdMarkerPassthroughProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaTailor::CfnPlaybackConfiguration::AdMarkerPassthroughProperty
- Defined in:
- media_tailor/cfn_playback_configuration.rb
Overview
For HLS, when set to true , MediaTailor passes through EXT-X-CUE-IN , EXT-X-CUE-OUT , and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin manifest to the MediaTailor personalized manifest.
No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT has a value of 60 , but no ads are filled for that ad break, MediaTailor will not set the value to 0 .
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean, ...
readonly
Enables ad marker passthrough for your configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled: nil) ⇒ AdMarkerPassthroughProperty
constructor
A new instance of AdMarkerPassthroughProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled: nil) ⇒ AdMarkerPassthroughProperty
Returns a new instance of AdMarkerPassthroughProperty.
882 883 884 885 |
# File 'media_tailor/cfn_playback_configuration.rb', line 882 def initialize(enabled: nil) @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil? end |
Instance Attribute Details
#enabled ⇒ Boolean, ... (readonly)
Enables ad marker passthrough for your configuration.
891 892 893 |
# File 'media_tailor/cfn_playback_configuration.rb', line 891 def enabled @enabled end |
Class Method Details
.jsii_properties ⇒ Object
893 894 895 896 897 |
# File 'media_tailor/cfn_playback_configuration.rb', line 893 def self.jsii_properties { :enabled => "enabled", } end |
Instance Method Details
#to_jsii ⇒ Object
899 900 901 902 903 904 905 |
# File 'media_tailor/cfn_playback_configuration.rb', line 899 def to_jsii result = {} result.merge!({ "enabled" => @enabled, }) result.compact end |