Interface CfnPlaybackConfigurationPropsMixin.LivePreRollConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlaybackConfigurationPropsMixin.LivePreRollConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPlaybackConfigurationPropsMixin
@Stability(Stable)
public static interface CfnPlaybackConfigurationPropsMixin.LivePreRollConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration for pre-roll ad insertion.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.mediatailor.mixins.*;
LivePreRollConfigurationProperty livePreRollConfigurationProperty = LivePreRollConfigurationProperty.builder()
.adDecisionServerUrl("adDecisionServerUrl")
.maxDurationSeconds(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnPlaybackConfigurationPropsMixin.LivePreRollConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdDecisionServerUrl
The URL for the ad decision server (ADS) for pre-roll ads.This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.
- See Also:
-
getMaxDurationSeconds
The maximum allowed duration for the pre-roll ad avail.AWS Elemental MediaTailor won't play pre-roll ads to exceed this duration, regardless of the total duration of ads that the ADS returns.
- See Also:
-
builder
@Stability(Stable) static CfnPlaybackConfigurationPropsMixin.LivePreRollConfigurationProperty.Builder builder()
-