@Stability(value=Stable)
public static interface CfnPlaybackConfiguration.LivePreRollConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediatailor.*;
LivePreRollConfigurationProperty livePreRollConfigurationProperty = LivePreRollConfigurationProperty.builder()
.adDecisionServerUrl("adDecisionServerUrl")
.maxDurationSeconds(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPlaybackConfiguration.LivePreRollConfigurationProperty.Builder
|
static class |
CfnPlaybackConfiguration.LivePreRollConfigurationProperty.Jsii$Proxy
An implementation for
CfnPlaybackConfiguration.LivePreRollConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnPlaybackConfiguration.LivePreRollConfigurationProperty.Builder |
builder() |
default String |
getAdDecisionServerUrl()
The URL for the ad decision server (ADS) for pre-roll ads.
|
default Number |
getMaxDurationSeconds()
The maximum allowed duration for the pre-roll ad avail.
|
@Stability(value=Stable) @Nullable default String getAdDecisionServerUrl()
This includes the specification of static parameters and placeholders for dynamic parameters. 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.
@Stability(value=Stable) @Nullable default Number getMaxDurationSeconds()
MediaTailor won't play pre-roll ads to exceed this duration, regardless of the total duration of ads that the ADS returns.
@Stability(value=Stable) static CfnPlaybackConfiguration.LivePreRollConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.