Class: AWSCDK::MediaTailor::CfnPlaybackConfiguration::ManifestProcessingRulesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaTailor::CfnPlaybackConfiguration::ManifestProcessingRulesProperty
- Defined in:
- media_tailor/cfn_playback_configuration.rb
Overview
The configuration for manifest processing rules.
Manifest processing rules enable customization of the personalized manifests created by MediaTailor.
Instance Attribute Summary collapse
-
#ad_marker_passthrough ⇒ AWSCDK::IResolvable, ...
readonly
For HLS, when set to
true, MediaTailor passes throughEXT-X-CUE-IN,EXT-X-CUE-OUT, andEXT-X-SPLICEPOINT-SCTE35ad markers from the origin manifest to the MediaTailor personalized manifest.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ad_marker_passthrough: nil) ⇒ ManifestProcessingRulesProperty
constructor
A new instance of ManifestProcessingRulesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ad_marker_passthrough: nil) ⇒ ManifestProcessingRulesProperty
Returns a new instance of ManifestProcessingRulesProperty.
1394 1395 1396 1397 |
# File 'media_tailor/cfn_playback_configuration.rb', line 1394 def initialize(ad_marker_passthrough: nil) @ad_marker_passthrough = ad_marker_passthrough.is_a?(Hash) ? ::AWSCDK::MediaTailor::CfnPlaybackConfiguration::AdMarkerPassthroughProperty.new(**ad_marker_passthrough.transform_keys(&:to_sym)) : ad_marker_passthrough Jsii::Type.check_type(@ad_marker_passthrough, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYXRhaWxvci5DZm5QbGF5YmFja0NvbmZpZ3VyYXRpb24uQWRNYXJrZXJQYXNzdGhyb3VnaFByb3BlcnR5In1dfX0=")), "adMarkerPassthrough") unless @ad_marker_passthrough.nil? end |
Instance Attribute Details
#ad_marker_passthrough ⇒ AWSCDK::IResolvable, ... (readonly)
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 .
1405 1406 1407 |
# File 'media_tailor/cfn_playback_configuration.rb', line 1405 def ad_marker_passthrough @ad_marker_passthrough end |
Class Method Details
.jsii_properties ⇒ Object
1407 1408 1409 1410 1411 |
# File 'media_tailor/cfn_playback_configuration.rb', line 1407 def self.jsii_properties { :ad_marker_passthrough => "adMarkerPassthrough", } end |
Instance Method Details
#to_jsii ⇒ Object
1413 1414 1415 1416 1417 1418 1419 |
# File 'media_tailor/cfn_playback_configuration.rb', line 1413 def to_jsii result = {} result.merge!({ "adMarkerPassthrough" => @ad_marker_passthrough, }) result.compact end |