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());
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedMediaPackageV2Destination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedMediaPackageV2Destination(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic MediaPackageV2Destination(experimental) Create a MediaPackage V2 destination.static MediaPackageV2Destinationchannel(IChannel channel, MediaPackageV2EndpointId endpointId) (experimental) Create a MediaPackage V2 destination.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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
regionproperty. Import the MediaPackage V2 channel with its region (e.g. viafromChannelAttributes) 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
regionproperty. Import the MediaPackage V2 channel with its region (e.g. viafromChannelAttributes) for cross-region delivery.- Parameters:
channel- The MediaPackage V2 channel to send output to. This parameter is required.
-