interface AlternateMediaProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaTailor.CfnProgram.AlternateMediaProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmediatailor#CfnProgram_AlternateMediaProperty |
Java | software.amazon.awscdk.services.mediatailor.CfnProgram.AlternateMediaProperty |
Python | aws_cdk.aws_mediatailor.CfnProgram.AlternateMediaProperty |
TypeScript | aws-cdk-lib » aws_mediatailor » CfnProgram » AlternateMediaProperty |
A playlist of media to be played instead of the default media on a particular program.
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 alternateMediaProperty: mediatailor.CfnProgram.AlternateMediaProperty = {
adBreaks: [{
offsetMillis: 123,
// the properties below are optional
adBreakMetadata: [{
key: 'key',
value: 'value',
}],
messageType: 'messageType',
slate: {
sourceLocationName: 'sourceLocationName',
vodSourceName: 'vodSourceName',
},
spliceInsertMessage: {
availNum: 123,
availsExpected: 123,
spliceEventId: 123,
uniqueProgramId: 123,
},
timeSignalMessage: {
segmentationDescriptors: [{
segmentationEventId: 123,
segmentationTypeId: 123,
segmentationUpid: 'segmentationUpid',
segmentationUpidType: 123,
segmentNum: 123,
segmentsExpected: 123,
subSegmentNum: 123,
subSegmentsExpected: 123,
}],
},
}],
clipRange: {
endOffsetMillis: 123,
startOffsetMillis: 123,
},
durationMillis: 123,
liveSourceName: 'liveSourceName',
scheduledStartTimeMillis: 123,
sourceLocationName: 'sourceLocationName',
vodSourceName: 'vodSourceName',
};
Properties
| Name | Type | Description |
|---|---|---|
| ad | IResolvable | (IResolvable | Ad)[] | Ad break configuration parameters defined in AlternateMedia. |
| clip | IResolvable | Clip | Clip range configuration for the VOD source associated with the program. |
| duration | number | The duration of the alternateMedia in milliseconds. |
| live | string | The name of the live source for alternateMedia. |
| scheduled | number | The date and time that the alternateMedia is scheduled to start, in epoch milliseconds. |
| source | string | The name of the source location for alternateMedia. |
| vod | string | The name of the VOD source for alternateMedia. |
adBreaks?
Type:
IResolvable | (IResolvable | Ad)[]
(optional)
Ad break configuration parameters defined in AlternateMedia.
clipRange?
Type:
IResolvable | Clip
(optional)
Clip range configuration for the VOD source associated with the program.
durationMillis?
Type:
number
(optional)
The duration of the alternateMedia in milliseconds.
liveSourceName?
Type:
string
(optional)
The name of the live source for alternateMedia.
scheduledStartTimeMillis?
Type:
number
(optional)
The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
sourceLocationName?
Type:
string
(optional)
The name of the source location for alternateMedia.
vodSourceName?
Type:
string
(optional)
The name of the VOD source for alternateMedia.

.NET
Go
Java
Python
TypeScript