Class: AWSCDK::MediaTailor::CfnPlaybackConfiguration::ManifestProcessingRulesProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ad_marker_passthrough: nil) ⇒ ManifestProcessingRulesProperty

Returns a new instance of ManifestProcessingRulesProperty.

Parameters:



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_passthroughAWSCDK::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_propertiesObject



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_jsiiObject



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