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

HLS input settings for URL pull inputs.

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

## 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' }],
    }),
  ],
});
```

## Properties

- `bandwidth`: [Bitrate](/cdk/api/v2/docs/aws-cdk-lib.Bitrate.html) — The bandwidth to select from the HLS manifest.

  **Default:** highest bandwidth

  MediaLive chooses the rendition
  whose manifest bandwidth most closely matches this value.

- `bufferSegments`: number — When specified, reading of the HLS input begins this many buffer segments from the end (most recently written segment).

  **Default:** the HLS input begins with the first segment specified in the m3u8

- `retries`: number — Number of consecutive read failures before the input is considered unavailable.

  **Default:** service default

- `retryInterval`: [Duration](/cdk/api/v2/docs/aws-cdk-lib.Duration.html) — The interval between retry attempts.

  **Default:** service default

- `scte35Source`: [HlsScte35Source](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.HlsScte35Source.html) — The source MediaLive ingests SCTE-35 messages from — the content segments or the manifest.

  **Default:** service default
