Class MediaPackageV2Destination

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.medialive.alpha.MediaPackageV2Destination
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:41.238Z") @Stability(Experimental) public abstract class MediaPackageV2Destination extends software.amazon.jsii.JsiiObject
(experimental) A MediaPackage V2 destination for a MediaLive output group.

Use the static factory method to create.

Example:

 IChannel primary;
 EncodeConfiguration hdVideo;
 OutputGroupConfiguration.mediaPackageV2PerPipeline(MediaPackageV2PerPipelineOutputGroupProps.builder()
         .name("emp")
         .destinations(List.of(MediaPackageV2Destination.channel(primary, MediaPackageV2EndpointId.ENDPOINT_2), MediaPackageV2Destination.channel(primary, MediaPackageV2EndpointId.ENDPOINT_1)))
         .outputs(List.of(MediaPackageV2OutputDefinition.builder().encode(hdVideo).outputName("hd").build()))
         .build());
 
  • Constructor Details

    • MediaPackageV2Destination

      protected MediaPackageV2Destination(software.amazon.jsii.JsiiObjectRef objRef)
    • MediaPackageV2Destination

      protected MediaPackageV2Destination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • MediaPackageV2Destination

      @Stability(Experimental) protected MediaPackageV2Destination()
  • Method Details

    • channel

      @Stability(Experimental) @NotNull public static MediaPackageV2Destination channel(@NotNull IChannel channel, @Nullable MediaPackageV2EndpointId endpointId)
      (experimental) Create a MediaPackage V2 destination.

      The region is resolved from the channel's region property. Import the MediaPackage V2 channel with its region (e.g. via fromChannelAttributes) for cross-region delivery.

      Parameters:
      channel - The MediaPackage V2 channel to send output to. This parameter is required.
      endpointId - The pipeline endpoint to send to.
    • channel

      @Stability(Experimental) @NotNull public static MediaPackageV2Destination channel(@NotNull IChannel channel)
      (experimental) Create a MediaPackage V2 destination.

      The region is resolved from the channel's region property. Import the MediaPackage V2 channel with its region (e.g. via fromChannelAttributes) for cross-region delivery.

      Parameters:
      channel - The MediaPackage V2 channel to send output to. This parameter is required.