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

Output definition for an HLS output group.

Extends: HlsOutputDefinition
Extends: OutputDefinition

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

## 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 encodeConfiguration: medialive_alpha.EncodeConfiguration;
declare const h265PackagingType: medialive_alpha.H265PackagingType;
declare const hlsSettings: medialive_alpha.HlsSettings;
const hlsOutputDefinition: medialive_alpha.HlsOutputDefinition = {
  encodes: [encodeConfiguration],
  outputName: 'outputName',

  // the properties below are optional
  h265PackagingType: h265PackagingType,
  hlsSettings: hlsSettings,
  nameModifier: 'nameModifier',
  segmentModifier: 'segmentModifier',
};
```

## Properties

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

- `h265PackagingType`: [H265PackagingType](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.H265PackagingType.html) = service default — For H.265 video, whether to package as HEV1 or HVC1.

- `hlsSettings`: [HlsSettings](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.HlsSettings.html) = HlsSettings.standard() with service-default M3U8 settings — The per-output HLS settings (standard, audio-only, fMP4, or frame-capture).

  Use the
  `HlsSettings` factory methods. Standard outputs additionally configure the M3U8 container
  via `HlsSettings.standard({ m3u8Settings })`.

  **Default:** HlsSettings.standard() with service-default M3U8 settings

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

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

  Must be unique across all outputs in the channel.

- `segmentModifier`: string = no segment modifier — A string concatenated to the end of segment file names.
