Interface MediaPackageV2OutputGroupProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, MediaPackageV2OutputGroupBaseProps
All Known Implementing Classes:
MediaPackageV2OutputGroupProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:41.272Z") @Stability(Experimental) public interface MediaPackageV2OutputGroupProps extends software.amazon.jsii.JsiiSerializable, MediaPackageV2OutputGroupBaseProps
(experimental) Properties for a MediaPackage V2 output group.

Reference a single MediaPackage V2 channel; MediaLive wires each channel pipeline to a MediaPackage ingest endpoint automatically (one for SINGLE_PIPELINE, both for STANDARD). For per-pipeline control — for example sending pipeline 0 to a specific endpoint of a channel in another region — use OutputGroupConfiguration.mediaPackageV2PerPipeline() instead.

Example:

 IChannel primaryChannel;
 EncodeConfiguration video;
 EncodeConfiguration audio;
 // Import a channel from another region — the region travels with the channel
 IChannel backupChannel = Channel.fromChannelAttributes(this, "BackupChannel", ChannelAttributes.builder()
         .channelName("backup-channel")
         .channelGroupName("backup-group")
         .region("us-west-2")
         .build());
 OutputGroupConfiguration.mediaPackageV2(MediaPackageV2OutputGroupProps.builder()
         .name("emp")
         .channel(primaryChannel)
         .additionalDestinations(List.of(MediaPackageV2Destination.channel(backupChannel, MediaPackageV2EndpointId.ENDPOINT_1)))
         .outputs(List.of(MediaPackageV2OutputDefinition.builder().encode(video).outputName("video").build(), MediaPackageV2OutputDefinition.builder().encode(audio).outputName("audio").build()))
         .build());