Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
OutputGroupConfiguration Class
Configuration for an output group.
Use the static factory methods to create.
Example
ts
declare const stack: Stack;
declare const input: medialive.IInput;
declare const bucket: s3.IBucket;
declare const video: medialive.EncodeConfiguration;
new medialive.Channel(stack, 'Channel', {
inputs: [{
input,
networkInputSettings: {
serverValidation: medialive.ServerValidation.CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME,
hlsInputSettings: {
bandwidth: Bitrate.mbps(5),
scte35Source: medialive.HlsScte35Source.MANIFEST,
},
},
logicalInterfaceNames: ['eth0', 'eth1'],
}],
outputGroups: [
medialive.OutputGroupConfiguration.hls({
name: 'hls',
destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
outputs: [{ encodes: [video], outputName: 'hls_out' }],
}),
],
});
Initializer
ts
new OutputGroupConfiguration()
python
OutputGroupConfiguration()
java
new OutputGroupConfiguration()
csharp
new OutputGroupConfiguration()
go
NewOutputGroupConfiguration()
Methods
archive(props: ArchiveOutputGroupProps): OutputGroupConfiguration // chainable@staticmethod def archive(props: ArchiveOutputGroupProps) -> OutputGroupConfigurationpublic static OutputGroupConfiguration archive(ArchiveOutputGroupProps props)public static OutputGroupConfiguration Archive(ArchiveOutputGroupProps props)func Archive(Props ArchiveOutputGroupProps) OutputGroupConfigurationstatic#Create an Archive (S3) output group configuration.
cmafIngest(props: CmafIngestOutputGroupProps): OutputGroupConfiguration // chainable@staticmethod def cmaf_ingest(props: CmafIngestOutputGroupProps) -> OutputGroupConfigurationpublic static OutputGroupConfiguration cmafIngest(CmafIngestOutputGroupProps props)public static OutputGroupConfiguration CmafIngest(CmafIngestOutputGroupProps props)func CmafIngest(Props CmafIngestOutputGroupProps) OutputGroupConfigurationstatic#Create a CMAF Ingest output group configuration.
frameCapture(props: FrameCaptureOutputGroupProps): OutputGroupConfiguration // chainable@staticmethod def frame_capture(props: FrameCaptureOutputGroupProps) -> OutputGroupConfigurationpublic static OutputGroupConfiguration frameCapture(FrameCaptureOutputGroupProps props)public static OutputGroupConfiguration FrameCapture(FrameCaptureOutputGroupProps props)func FrameCapture(Props FrameCaptureOutputGroupProps) OutputGroupConfigurationstatic#Create a Frame Capture output group configuration.
A channel that includes a Frame Capture output group must also include a separate video output group (e.g. Archive, HLS, UDP). Frame Capture cannot be the channel's only output group.
hls(props: HlsOutputGroupProps): OutputGroupConfiguration // chainable@staticmethod def hls(props: HlsOutputGroupProps) -> OutputGroupConfigurationpublic static OutputGroupConfiguration hls(HlsOutputGroupProps props)public static OutputGroupConfiguration Hls(HlsOutputGroupProps props)func Hls(Props HlsOutputGroupProps) OutputGroupConfigurationstatic#Create an HLS output group configuration.
mediaConnectRouter(props: MediaConnectRouterOutputGroupProps): OutputGroupConfiguration // chainable@staticmethod def media_connect_router(props: MediaConnectRouterOutputGroupProps) -> OutputGroupConfigurationpublic static OutputGroupConfiguration mediaConnectRouter(MediaConnectRouterOutputGroupProps props)public static OutputGroupConfiguration MediaConnectRouter(MediaConnectRouterOutputGroupProps props)func MediaConnectRouter(Props MediaConnectRouterOutputGroupProps) OutputGroupConfigurationstatic#Create a MediaConnect Router output group, delivering each channel pipeline to a MediaConnect Router.
notes
Transit encryption defaults to AUTOMATIC; override per pipeline via routerSettings.
The downstream wiring (which router input each pipeline feeds) is configured on the MediaConnect side, referencing this output group by name and the pipeline id.
mediaPackageV2(props: MediaPackageV2OutputGroupProps): OutputGroupConfiguration // chainable@staticmethod def media_package_v2(props: MediaPackageV2OutputGroupProps) -> OutputGroupConfigurationpublic static OutputGroupConfiguration mediaPackageV2(MediaPackageV2OutputGroupProps props)public static OutputGroupConfiguration MediaPackageV2(MediaPackageV2OutputGroupProps props)func MediaPackageV2(Props MediaPackageV2OutputGroupProps) OutputGroupConfigurationstatic#Create a MediaPackage V2 output group that delivers to a single channel, auto-mapping each pipeline to a MediaPackage ingest endpoint based on the channel class.
mediaPackageV2PerPipeline(props: MediaPackageV2PerPipelineOutputGroupProps): OutputGroupConfiguration // chainable@staticmethod def media_package_v2_per_pipeline(props: MediaPackageV2PerPipelineOutputGroupProps) -> OutputGroupConfigurationpublic static OutputGroupConfiguration mediaPackageV2PerPipeline(MediaPackageV2PerPipelineOutputGroupProps props)public static OutputGroupConfiguration MediaPackageV2PerPipeline(MediaPackageV2PerPipelineOutputGroupProps props)func MediaPackageV2PerPipeline(Props MediaPackageV2PerPipelineOutputGroupProps) OutputGroupConfigurationstatic#Create a MediaPackage V2 output group with explicit per-pipeline destinations (channel + endpoint per pipeline).
Use for cross-region delivery or pinning a pipeline to an endpoint.
msSmooth(props: MsSmoothOutputGroupProps): OutputGroupConfiguration // chainable@staticmethod def ms_smooth(props: MsSmoothOutputGroupProps) -> OutputGroupConfigurationpublic static OutputGroupConfiguration msSmooth(MsSmoothOutputGroupProps props)public static OutputGroupConfiguration MsSmooth(MsSmoothOutputGroupProps props)func MsSmooth(Props MsSmoothOutputGroupProps) OutputGroupConfigurationstatic#Create an MS Smooth output group configuration.
rtmp(props: RtmpOutputGroupProps): OutputGroupConfiguration // chainable@staticmethod def rtmp(props: RtmpOutputGroupProps) -> OutputGroupConfigurationpublic static OutputGroupConfiguration rtmp(RtmpOutputGroupProps props)public static OutputGroupConfiguration Rtmp(RtmpOutputGroupProps props)func Rtmp(Props RtmpOutputGroupProps) OutputGroupConfigurationstatic#Create an RTMP output group configuration.
srt(props: SrtOutputGroupProps): OutputGroupConfiguration // chainable@staticmethod def srt(props: SrtOutputGroupProps) -> OutputGroupConfigurationpublic static OutputGroupConfiguration srt(SrtOutputGroupProps props)public static OutputGroupConfiguration Srt(SrtOutputGroupProps props)func Srt(Props SrtOutputGroupProps) OutputGroupConfigurationstatic#Create an SRT output group configuration.
udp(props: UdpOutputGroupProps): OutputGroupConfiguration // chainable@staticmethod def udp(props: UdpOutputGroupProps) -> OutputGroupConfigurationpublic static OutputGroupConfiguration udp(UdpOutputGroupProps props)public static OutputGroupConfiguration Udp(UdpOutputGroupProps props)func Udp(Props UdpOutputGroupProps) OutputGroupConfigurationstatic#Create a UDP output group configuration.