> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# OutputGroupConfiguration

Configuration for an output group.

Use the static factory methods to create.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/output-group.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-medialive-alpha/lib/output-group.ts#L119)

## 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()
```

## Methods

- `archive(props: ArchiveOutputGroupProps): OutputGroupConfiguration // chainable` (static) — Create an Archive (S3) output group configuration.

- `cmafIngest(props: CmafIngestOutputGroupProps): OutputGroupConfiguration // chainable` (static) — Create a CMAF Ingest output group configuration.

- `frameCapture(props: FrameCaptureOutputGroupProps): OutputGroupConfiguration // chainable` (static) — 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` (static) — Create an HLS output group configuration.

- `mediaConnectRouter(props: MediaConnectRouterOutputGroupProps): OutputGroupConfiguration // chainable` (static) — Create a MediaConnect Router output group, delivering each channel pipeline to a MediaConnect Router.

  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` (static) — 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` (static) — 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` (static) — Create an MS Smooth output group configuration.

- `rtmp(props: RtmpOutputGroupProps): OutputGroupConfiguration // chainable` (static) — Create an RTMP output group configuration.

- `srt(props: SrtOutputGroupProps): OutputGroupConfiguration // chainable` (static) — Create an SRT output group configuration.

- `udp(props: UdpOutputGroupProps): OutputGroupConfiguration // chainable` (static) — Create a UDP output group configuration.
