# MediaPackageOutputDestinationSettingsProperty

Destination settings for a MediaPackage output.

The parent of this entity is OutputDestination.

- Source: Generated at build time
- Type last changed: v2.239.0 · 19 Feb 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_medialive as medialive } from 'aws-cdk-lib';
const mediaPackageOutputDestinationSettingsProperty: medialive.CfnChannel.MediaPackageOutputDestinationSettingsProperty = {
  channelEndpointId: 'channelEndpointId',
  channelGroup: 'channelGroup',
  channelId: 'channelId',
  channelName: 'channelName',
  mediaPackageRegionName: 'mediaPackageRegionName',
};
```

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

media_package_output_destination_settings_property = medialive.CfnChannel.MediaPackageOutputDestinationSettingsProperty(
    channel_endpoint_id="channelEndpointId",
    channel_group="channelGroup",
    channel_id="channelId",
    channel_name="channelName",
    media_package_region_name="mediaPackageRegionName"
)
```

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

MediaPackageOutputDestinationSettingsProperty mediaPackageOutputDestinationSettingsProperty = MediaPackageOutputDestinationSettingsProperty.builder()
        .channelEndpointId("channelEndpointId")
        .channelGroup("channelGroup")
        .channelId("channelId")
        .channelName("channelName")
        .mediaPackageRegionName("mediaPackageRegionName")
        .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 mediaPackageOutputDestinationSettingsProperty = new MediaPackageOutputDestinationSettingsProperty {
    ChannelEndpointId = "channelEndpointId",
    ChannelGroup = "channelGroup",
    ChannelId = "channelId",
    ChannelName = "channelName",
    MediaPackageRegionName = "mediaPackageRegionName"
};
```

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"

mediaPackageOutputDestinationSettingsProperty := &MediaPackageOutputDestinationSettingsProperty{
	ChannelEndpointId: jsii.String("channelEndpointId"),
	ChannelGroup: jsii.String("channelGroup"),
	ChannelId: jsii.String("channelId"),
	ChannelName: jsii.String("channelName"),
	MediaPackageRegionName: jsii.String("mediaPackageRegionName"),
}
```

## Properties

- `channelEndpointId`: string

- `channelGroup`: string

- `channelId`: string — The ID of the channel in MediaPackage that is the destination for this output group.

  You don't need to specify the individual inputs in MediaPackage; MediaLive handles the connection of the two MediaLive pipelines to the two MediaPackage inputs. The MediaPackage channel and MediaLive channel must be in the same Region.

- `channelName`: string

- `mediaPackageRegionName`: string
