interface LivePreRollConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaTailor.Mixins.CfnPlaybackConfigurationPropsMixin.LivePreRollConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmediatailor/mixins#CfnPlaybackConfigurationPropsMixin_LivePreRollConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.mediatailor.mixins.CfnPlaybackConfigurationPropsMixin.LivePreRollConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_mediatailor.mixins.CfnPlaybackConfigurationPropsMixin.LivePreRollConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_mediatailor » mixins » CfnPlaybackConfigurationPropsMixin » 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 { mixins as mediatailor_mixins } from '@aws-cdk/mixins-preview/aws-mediatailor';
const livePreRollConfigurationProperty: mediatailor_mixins.CfnPlaybackConfigurationPropsMixin.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