> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# M2tsSegmentationMarkers

The type of segmentation markers to insert.

Obtainable from: M2tsSegmentationMarkers.EBP, M2tsSegmentationMarkers.EBP_LEGACY, M2tsSegmentationMarkers.NONE, M2tsSegmentationMarkers.PSI_SEGSTART, M2tsSegmentationMarkers.RAI_ADAPT, M2tsSegmentationMarkers.RAI_SEGSTART, M2tsSegmentationMarkers.of

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/m2ts-settings.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-medialive-alpha/lib/m2ts-settings.ts#L325)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const m2tsSegmentationMarkers = medialive_alpha.M2tsSegmentationMarkers.EBP;
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha

m2ts_segmentation_markers = medialive_alpha.M2tsSegmentationMarkers.EBP
```

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.medialive.alpha.*;

M2tsSegmentationMarkers m2tsSegmentationMarkers = M2tsSegmentationMarkers.EBP;
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;

var m2tsSegmentationMarkers = M2tsSegmentationMarkers.EBP;
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"

m2tsSegmentationMarkers := medialive_alpha.M2tsSegmentationMarkers_EBP()
```

## Properties

- `EBP`: [M2tsSegmentationMarkers](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.M2tsSegmentationMarkers.html) (static) — Add Encoder Boundary Point information (OC-SP-EBP-I01-130118).

- `EBP_LEGACY`: [M2tsSegmentationMarkers](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.M2tsSegmentationMarkers.html) (static) — Add Encoder Boundary Point information using the legacy proprietary format.

- `NONE`: [M2tsSegmentationMarkers](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.M2tsSegmentationMarkers.html) (static) — No segmentation markers.

- `PSI_SEGSTART`: [M2tsSegmentationMarkers](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.M2tsSegmentationMarkers.html) (static) — Insert PAT and PMT tables at the start of segments.

- `RAI_ADAPT`: [M2tsSegmentationMarkers](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.M2tsSegmentationMarkers.html) (static) — Set the RAI bit and add the current timecode in the private data bytes.

- `RAI_SEGSTART`: [M2tsSegmentationMarkers](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.M2tsSegmentationMarkers.html) (static) — Set the Random Access Indicator (RAI) bit in the adaptation field.

- `value`: string — The underlying string value passed to CloudFormation.

## Methods

- `of(value: string): M2tsSegmentationMarkers // chainable` (static) — A value not yet modelled by AWS CDK.
