MediaPackageV2Destination
- class aws_cdk.aws_medialive_alpha.MediaPackageV2Destination
Bases:
object(experimental) A MediaPackage V2 destination for a MediaLive output group.
Use the static factory method to create.
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# primary: mediapackagev2.IChannel # hd_video: medialive.EncodeConfiguration medialive.OutputGroupConfiguration.media_package_v2_per_pipeline( 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=[medialive.MediaPackageV2OutputDefinition(encode=hd_video, output_name="hd") ] )
- Stability:
experimental
Static Methods
- classmethod channel(channel, endpoint_id=None)
(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 (
IChannel) – The MediaPackage V2 channel to send output to.endpoint_id (
Optional[MediaPackageV2EndpointId]) – The pipeline endpoint to send to. When omitted,channelEndpointIdand the region are left unset and MediaLive maps the pipeline automatically (same-region only).
- Stability:
experimental
- Return type: