# VideoSelectorProgramIdProperty

Used to extract video by the program ID.

The parent of this entity is VideoSelectorSettings.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const videoSelectorProgramIdProperty: medialive.CfnChannel.VideoSelectorProgramIdProperty = {
  programId: 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_medialive as medialive

video_selector_program_id_property = medialive.CfnChannel.VideoSelectorProgramIdProperty(
    program_id=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.medialive.*;

VideoSelectorProgramIdProperty videoSelectorProgramIdProperty = VideoSelectorProgramIdProperty.builder()
        .programId(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.MediaLive;

var videoSelectorProgramIdProperty = new VideoSelectorProgramIdProperty {
    ProgramId = 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"

videoSelectorProgramIdProperty := &VideoSelectorProgramIdProperty{
	ProgramId: jsii.Number(123),
}
```

## Properties

- `programId`: number — Selects a specific program from within a multi-program transport stream.

  If the program doesn't exist, MediaLive selects the first program within the transport stream by default.
