interface MediaPackageV2PerPipelineOutputGroupProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.MediaPackageV2PerPipelineOutputGroupProps |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#MediaPackageV2PerPipelineOutputGroupProps |
Java | software.amazon.awscdk.services.medialive.alpha.MediaPackageV2PerPipelineOutputGroupProps |
Python | aws_cdk.aws_medialive_alpha.MediaPackageV2PerPipelineOutputGroupProps |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป MediaPackageV2PerPipelineOutputGroupProps |
Implements
Media
Properties for a MediaPackage V2 output group with explicit per-pipeline destinations.
Use this when you need to control the channel and endpoint each pipeline delivers to โ for example cross-region delivery, or pinning pipeline 0 to a specific endpoint.
Example
declare const primary: mediapackagev2.IChannel;
declare const hdVideo: medialive.EncodeConfiguration;
medialive.OutputGroupConfiguration.mediaPackageV2PerPipeline({
name: 'emp',
destinations: [
// destinations[0] โ Pipeline 0, destinations[1] โ Pipeline 1
medialive.MediaPackageV2Destination.channel(primary, medialive.MediaPackageV2EndpointId.ENDPOINT_2),
medialive.MediaPackageV2Destination.channel(primary, medialive.MediaPackageV2EndpointId.ENDPOINT_1),
],
outputs: [
{ encode: hdVideo, outputName: 'hd' },
],
});
Properties
| Name | Type | Description |
|---|---|---|
| destinations | Media[] | The primary MediaPackage V2 destinations โ one per pipeline. |
| name | string | The name of this output group. |
| outputs | Media[] | The outputs for this output group. |
| additional | Media[] | Configure additional destinations to fan out the output to extra MediaPackage V2 channels, for example for cross-region delivery or backup packaging. |
| caption | Caption[] | Caption language mappings for the MediaPackage V2 output. |
| id3 | Id3 | The ID3 behavior. |
| klv | Klv | The KLV behavior. |
| nielsen | Nielsen | The Nielsen ID3 behavior. |
| scte35 | Scte35 | The SCTE-35 type. |
| segment? | Segment | The length of each media segment. |
| timed | Timed | The timed metadata ID3 frame. |
| timed | Duration | The timed metadata interval. |
| timed | Timed | Whether timed metadata is passed through. |
destinations
Type:
Media[]
The primary MediaPackage V2 destinations โ one per pipeline.
Array position determines the pipeline mapping:
destinations[0]โ Pipeline 0destinations[1]โ Pipeline 1 (STANDARD channels only)
For a SINGLE_PIPELINE channel, provide exactly 1 destination. For a STANDARD channel, provide exactly 2 destinations.
name
Type:
string
The name of this output group.
Used as the destination reference ID. Underscores are normalised to hyphens internally.
outputs
Type:
Media[]
The outputs for this output group.
MediaPackage V2 uses CMAF ingest which requires one track per output. Create a separate output for each encode (e.g. one for HD video, one for SD video, one for audio). Do NOT put multiple encodes in a single output.
additionalDestinations?
Type:
Media[]
(optional, default: no additional destinations)
Configure additional destinations to fan out the output to extra MediaPackage V2 channels, for example for cross-region delivery or backup packaging.
These correspond to Destination 3/4 in the AWS console. Each additional destination is a single, explicit entry (channel + endpoint), independent of the channel class.
captionLanguageMappings?
Type:
Caption[]
(optional, default: no caption language mappings)
Caption language mappings for the MediaPackage V2 output.
id3Behavior?
Type:
Id3
(optional, default: Id3Behavior.DISABLED)
The ID3 behavior.
klvBehavior?
Type:
Klv
(optional, default: KlvBehavior.NO_PASSTHROUGH)
The KLV behavior.
nielsenId3Behavior?
Type:
Nielsen
(optional, default: NielsenId3Behavior.NO_PASSTHROUGH)
The Nielsen ID3 behavior.
scte35Type?
Type:
Scte35
(optional, default: Scte35Type.SCTE_35_WITHOUT_SEGMENTATION)
The SCTE-35 type.
segment?
Type:
Segment
(optional, default: Segment.seconds(1))
The length of each media segment.
timedMetadataId3Frame?
Type:
Timed
(optional, default: TimedMetadataId3Frame.NONE)
The timed metadata ID3 frame.
timedMetadataId3Period?
Type:
Duration
(optional, default: Duration.seconds(10))
The timed metadata interval.
timedMetadataPassthrough?
Type:
Timed
(optional, default: TimedMetadataPassthrough.DISABLED)
Whether timed metadata is passed through.

.NET
Go
Java
Python
TypeScript (