# SegmentationDescriptorProperty

The segmentation_descriptor message configuration.

- Source: Generated at build time
- Type last changed: v2.273.0 · 8 Oct 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `segmentationEventId`: number — The Event Identifier to assign.

- `segmentationTypeId`: number — The Type Identifier to assign.

- `segmentationUpid`: string — The Upid to assign.

- `segmentationUpidType`: number — The Upid Type to assign.

- `segmentNum`: number — The segment number to assign.

- `segmentsExpected`: number — The number of segments expected.

- `subSegmentNum`: number — The sub-segment number to assign.

- `subSegmentsExpected`: number — The number of sub-segments expected.
