Interface MediaPackageV2OutputDefinition
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MediaPackageV2OutputDefinition.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:41.240Z")
@Stability(Experimental)
public interface MediaPackageV2OutputDefinition
extends software.amazon.jsii.JsiiSerializable
(experimental) Output definition for a MediaPackage V2 output group.
MediaPackage V2 uses CMAF ingest which requires one media track (video or audio) per output. In-band captions (burn-in, embedded) can ride alongside the primary encode because they do not produce a separate track.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;
EncodeConfiguration encodeConfiguration;
MediaPackageV2HlsSetting mediaPackageV2HlsSetting;
MediaPackageV2OutputDefinition mediaPackageV2OutputDefinition = MediaPackageV2OutputDefinition.builder()
.encode(encodeConfiguration)
.outputName("outputName")
// the properties below are optional
.audioGroupId("audioGroupId")
.audioRenditionSets("audioRenditionSets")
.captions(List.of(encodeConfiguration))
.hlsAutoSelect(mediaPackageV2HlsSetting)
.hlsDefault(mediaPackageV2HlsSetting)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forMediaPackageV2OutputDefinitionstatic final classAn implementation forMediaPackageV2OutputDefinition -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default String(experimental) The audio group ID for audio outputs.default String(experimental) The audio rendition sets for video outputs.default List<EncodeConfiguration> (experimental) Caption encodes that ride alongside the primary encode.(experimental) The primary encode for this output — one video or one audio track.default MediaPackageV2HlsSetting(experimental) For audio outputs, whether MediaPackage sets this rendition as the auto-select rendition in the HLS manifest.default MediaPackageV2HlsSetting(experimental) For audio outputs, whether MediaPackage sets this rendition as the default rendition in the HLS manifest.(experimental) The name of this output.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncode
(experimental) The primary encode for this output — one video or one audio track. -
getOutputName
(experimental) The name of this output.Must be unique across all outputs in the channel.
-
getAudioGroupId
(experimental) The audio group ID for audio outputs.Default: - service default
-
getAudioRenditionSets
(experimental) The audio rendition sets for video outputs.Default: - service default
-
getCaptions
(experimental) Caption encodes that ride alongside the primary encode.Only in-band caption types are allowed (burn-in, embedded) — out-of-band captions must go in their own output.
Default: - no captions on this output
-
getHlsAutoSelect
(experimental) For audio outputs, whether MediaPackage sets this rendition as the auto-select rendition in the HLS manifest.Default: MediaPackageV2HlsSetting.OMIT
-
getHlsDefault
(experimental) For audio outputs, whether MediaPackage sets this rendition as the default rendition in the HLS manifest.Default: MediaPackageV2HlsSetting.OMIT
-
builder
-