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

Output definition for an Archive output group.

Extends: ArchiveOutputDefinition
Extends: OutputDefinition

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

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';

declare const archiveContainer: medialive_alpha.ArchiveContainer;
declare const encodeConfiguration: medialive_alpha.EncodeConfiguration;
const archiveOutputDefinition: medialive_alpha.ArchiveOutputDefinition = {
  encodes: [encodeConfiguration],
  outputName: 'outputName',

  // the properties below are optional
  container: archiveContainer,
  extension: 'extension',
  nameModifier: 'nameModifier',
};
```

## Properties

- `container`: [ArchiveContainer](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.ArchiveContainer.html) — The container (transport stream) for this output — an MPEG-TS (M2TS) or raw container.

  **Default:** ArchiveContainer.m2ts() with service-default M2TS settings

  Use the `ArchiveContainer` factory methods.

- `encodes`: [EncodeConfiguration](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.EncodeConfiguration.html)[] (required) — The encode configurations to wire to this output.

- `extension`: string — The output file extension.

  **Default:** auto-selected from container type

- `nameModifier`: string — A string concatenated to the end of the destination file name.

  **Default:** no name modifier

  Required if the output group
  contains more than one output of the same container type.

- `outputName`: string (required) — The name of this output.

  Must be unique across all outputs in the channel.
