interface LivePreRollConfigurationProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.MediaTailor.CfnPlaybackConfiguration.LivePreRollConfigurationProperty | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmediatailor#CfnPlaybackConfiguration_LivePreRollConfigurationProperty | 
  Java | software.amazon.awscdk.services.mediatailor.CfnPlaybackConfiguration.LivePreRollConfigurationProperty | 
  Python | aws_cdk.aws_mediatailor.CfnPlaybackConfiguration.LivePreRollConfigurationProperty | 
  TypeScript  | aws-cdk-lib » aws_mediatailor » CfnPlaybackConfiguration » LivePreRollConfigurationProperty | 
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 { aws_mediatailor as mediatailor } from 'aws-cdk-lib';
const livePreRollConfigurationProperty: mediatailor.CfnPlaybackConfiguration.LivePreRollConfigurationProperty = {
  adDecisionServerUrl: 'adDecisionServerUrl',
  maxDurationSeconds: 123,
};
Properties
| Name | Type | Description | 
|---|---|---|
| ad | string | The URL for the ad decision server (ADS) for pre-roll ads. | 
| max | number | The maximum allowed duration for the pre-roll ad avail. | 
adDecisionServerUrl?
Type:
string
(optional)
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.
maxDurationSeconds?
Type:
number
(optional)
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.

 .NET
 Go
 Java
 Python
 TypeScript