interface AdBreakProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaTailor.CfnProgram.AdBreakProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmediatailor#CfnProgram_AdBreakProperty |
Java | software.amazon.awscdk.services.mediatailor.CfnProgram.AdBreakProperty |
Python | aws_cdk.aws_mediatailor.CfnProgram.AdBreakProperty |
TypeScript | aws-cdk-lib » aws_mediatailor » CfnProgram » AdBreakProperty |
Ad break configuration parameters.
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 adBreakProperty: mediatailor.CfnProgram.AdBreakProperty = {
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,
}],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| offset | number | How long (in milliseconds) after the beginning of the program that an ad starts. |
| ad | IResolvable | (IResolvable | Key)[] | Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET tag for SCTE35_ENHANCED output. |
| message | string | The SCTE-35 ad insertion type. |
| slate? | IResolvable | Slate | Slate VOD source configuration. |
| splice | IResolvable | Splice | Splice insert message configuration. |
| time | IResolvable | Time | The SCTE-35 time_signal message configuration. |
offsetMillis
Type:
number
How long (in milliseconds) after the beginning of the program that an ad starts.
adBreakMetadata?
Type:
IResolvable | (IResolvable | Key)[]
(optional)
Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET tag for SCTE35_ENHANCED output.
messageType?
Type:
string
(optional)
The SCTE-35 ad insertion type.
slate?
Type:
IResolvable | Slate
(optional)
Slate VOD source configuration.
spliceInsertMessage?
Type:
IResolvable | Splice
(optional)
Splice insert message configuration.
timeSignalMessage?
Type:
IResolvable | Time
(optional)
The SCTE-35 time_signal message configuration.

.NET
Go
Java
Python
TypeScript