# CfnMultiplexprogramProps

Properties for defining a `CfnMultiplexprogram`.

Extends: CfnMultiplexprogramProps
Used as props by: CfnMultiplexprogram

- Source: Generated code
- Type last changed: v2.159.0 · 19 Sep 2024

## Example

```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 cfnMultiplexprogramProps: medialive.CfnMultiplexprogramProps = {
  multiplexId: 'multiplexId',
  multiplexProgramSettings: {
    programNumber: 123,

    // the properties below are optional
    preferredChannelPipeline: 'preferredChannelPipeline',
    serviceDescriptor: {
      providerName: 'providerName',
      serviceName: 'serviceName',
    },
    videoSettings: {
      constantBitrate: 123,
      statmuxSettings: {
        maximumBitrate: 123,
        minimumBitrate: 123,
        priority: 123,
      },
    },
  },
  packetIdentifiersMap: {
    audioPids: [123],
    dvbSubPids: [123],
    dvbTeletextPid: 123,
    etvPlatformPid: 123,
    etvSignalPid: 123,
    klvDataPids: [123],
    pcrPid: 123,
    pmtPid: 123,
    privateMetadataPid: 123,
    scte27Pids: [123],
    scte35Pid: 123,
    timedMetadataPid: 123,
    videoPid: 123,
  },
  pipelineDetails: [{
    activeChannelPipeline: 'activeChannelPipeline',
    pipelineId: 'pipelineId',
  }],
  preferredChannelPipeline: 'preferredChannelPipeline',
  programName: 'programName',
};
```

## Properties

- `multiplexId`: string — The unique id of the multiplex.

- `multiplexProgramSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMultiplexprogram.MultiplexProgramSettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnMultiplexprogram.MultiplexProgramSettingsProperty.html) — Multiplex Program settings configuration.

- `packetIdentifiersMap`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMultiplexprogram.MultiplexProgramPacketIdentifiersMapProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnMultiplexprogram.MultiplexProgramPacketIdentifiersMapProperty.html) — Packet identifiers map for a given Multiplex program.

- `pipelineDetails`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMultiplexprogram.MultiplexProgramPipelineDetailProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnMultiplexprogram.MultiplexProgramPipelineDetailProperty.html)[] — Contains information about the current sources for the specified program in the specified multiplex.

  Keep in mind that each multiplex pipeline connects to both pipelines in a given source channel (the channel identified by the program). But only one of those channel pipelines is ever active at one time.

- `preferredChannelPipeline`: string — Indicates which pipeline is preferred by the multiplex for program ingest.

  If set to \"PIPELINE_0\" or \"PIPELINE_1\" and an unhealthy ingest causes the multiplex to switch to the non-preferred pipeline,
  it will switch back once that ingest is healthy again. If set to \"CURRENTLY_ACTIVE\",
  it will not switch back to the other pipeline based on it recovering to a healthy state,
  it will only switch if the active pipeline becomes unhealthy.

- `programName`: string — The name of the multiplex program.
