Skip to content
v2.278.0

SegmentationDescriptorProperty Struct ​

The segmentation_descriptor message configuration.

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 segmentationDescriptorProperty: mediatailor.CfnProgram.SegmentationDescriptorProperty = {
  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

segmentation_descriptor_property = 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.*;

SegmentationDescriptorProperty segmentationDescriptorProperty = SegmentationDescriptorProperty.builder()
        .segmentationEventId(123)
        .segmentationTypeId(123)
        .segmentationUpid("segmentationUpid")
        .segmentationUpidType(123)
        .segmentNum(123)
        .segmentsExpected(123)
        .subSegmentNum(123)
        .subSegmentsExpected(123)
        .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 segmentationDescriptorProperty = 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"

segmentationDescriptorProperty := &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 ​

segmentationEventIdoptionalnumbersegmentation_event_idoptionalint | floatsegmentationEventIdoptionalNumberSegmentationEventIdoptionaldoubleSegmentationEventIdoptional*float64 #
The Event Identifier to assign.
segmentationTypeIdoptionalnumbersegmentation_type_idoptionalint | floatsegmentationTypeIdoptionalNumberSegmentationTypeIdoptionaldoubleSegmentationTypeIdoptional*float64 #
The Type Identifier to assign.
segmentationUpidoptionalstringsegmentation_upidoptionalstrsegmentationUpidoptionalStringSegmentationUpidoptionalstringSegmentationUpidoptional*string #
The Upid to assign.
segmentationUpidTypeoptionalnumbersegmentation_upid_typeoptionalint | floatsegmentationUpidTypeoptionalNumberSegmentationUpidTypeoptionaldoubleSegmentationUpidTypeoptional*float64 #
The Upid Type to assign.
segmentNumoptionalnumbersegment_numoptionalint | floatsegmentNumoptionalNumberSegmentNumoptionaldoubleSegmentNumoptional*float64 #
The segment number to assign.
segmentsExpectedoptionalnumbersegments_expectedoptionalint | floatsegmentsExpectedoptionalNumberSegmentsExpectedoptionaldoubleSegmentsExpectedoptional*float64 #
The number of segments expected.
subSegmentNumoptionalnumbersub_segment_numoptionalint | floatsubSegmentNumoptionalNumberSubSegmentNumoptionaldoubleSubSegmentNumoptional*float64 #
The sub-segment number to assign.
subSegmentsExpectedoptionalnumbersub_segments_expectedoptionalint | floatsubSegmentsExpectedoptionalNumberSubSegmentsExpectedoptionaldoubleSubSegmentsExpectedoptional*float64 #
The number of sub-segments expected.