TimeSignalMessageProperty Struct
The SCTE-35 time_signal message configuration.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 timeSignalMessageProperty: mediatailor.CfnProgram.TimeSignalMessageProperty = {
segmentationDescriptors: [{
segmentationEventId: 123,
segmentationTypeId: 123,
segmentationUpid: 'segmentationUpid',
segmentationUpidType: 123,
segmentNum: 123,
segmentsExpected: 123,
subSegmentNum: 123,
subSegmentsExpected: 123,
}],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediatailor as mediatailor
time_signal_message_property = mediatailor.CfnProgram.TimeSignalMessageProperty(
segmentation_descriptors=[mediatailor.CfnProgram.SegmentationDescriptorProperty(
segmentation_event_id=123,
segmentation_type_id=123,
segmentation_upid="segmentationUpid",
segmentation_upid_type=123,
segment_num=123,
segments_expected=123,
sub_segment_num=123,
sub_segments_expected=123
)]
)
java
// 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.*;
TimeSignalMessageProperty timeSignalMessageProperty = TimeSignalMessageProperty.builder()
.segmentationDescriptors(List.of(SegmentationDescriptorProperty.builder()
.segmentationEventId(123)
.segmentationTypeId(123)
.segmentationUpid("segmentationUpid")
.segmentationUpidType(123)
.segmentNum(123)
.segmentsExpected(123)
.subSegmentNum(123)
.subSegmentsExpected(123)
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaTailor;
var timeSignalMessageProperty = new TimeSignalMessageProperty {
SegmentationDescriptors = new [] { new SegmentationDescriptorProperty {
SegmentationEventId = 123,
SegmentationTypeId = 123,
SegmentationUpid = "segmentationUpid",
SegmentationUpidType = 123,
SegmentNum = 123,
SegmentsExpected = 123,
SubSegmentNum = 123,
SubSegmentsExpected = 123
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
timeSignalMessageProperty := &TimeSignalMessageProperty{
SegmentationDescriptors: []interface{}{
&SegmentationDescriptorProperty{
SegmentationEventId: jsii.Number(123),
SegmentationTypeId: jsii.Number(123),
SegmentationUpid: jsii.String("segmentationUpid"),
SegmentationUpidType: jsii.Number(123),
SegmentNum: jsii.Number(123),
SegmentsExpected: jsii.Number(123),
SubSegmentNum: jsii.Number(123),
SubSegmentsExpected: jsii.Number(123),
},
},
}
Properties
segmentationDescriptorsoptionalIResolvable | IResolvable | CfnProgram.segmentation_descriptorsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SegmentationDescriptorProperty]]]segmentationDescriptorsoptionalIResolvableSegmentationDescriptorsoptionalIResolvableSegmentationDescriptorsoptionalinterface{} #The configurations for the SCTE-35 segmentation_descriptor message(s).