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

Thumbnail configuration for IVS Recording configuration.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/thumbnail-configuration.ts`](https://github.com/aws/aws-cdk/blob/v2.273.0-alpha.0/packages/@aws-cdk/aws-ivs-alpha/lib/thumbnail-configuration.ts#L37)

## Example

```ts
declare const recordingBucket: s3.Bucket;

const recordingConfiguration = new ivs.RecordingConfiguration(this, 'RecordingConfiguration', {
  bucket: recordingBucket,

  // set thumbnail settings
  thumbnailConfiguration: ivs.ThumbnailConfiguration.interval(ivs.Resolution.HD, [ivs.Storage.LATEST, ivs.Storage.SEQUENTIAL], Duration.seconds(30)),
});
```

## Properties

- `recordingMode`: [RecordingMode](/cdk/api/v2/docs/@aws-cdk_aws-ivs-alpha.RecordingMode.html) — Thumbnail recording mode.

  If you do not specify this property, `ThumbnailRecordingMode.INTERVAL` is set.

- `resolution`: [Resolution](/cdk/api/v2/docs/@aws-cdk_aws-ivs-alpha.Resolution.html) — The desired resolution of recorded thumbnails for a stream.

  If you do not specify this property, same resolution as Input stream is used.

- `storage`: [Storage](/cdk/api/v2/docs/@aws-cdk_aws-ivs-alpha.Storage.html)[] — The format in which thumbnails are recorded for a stream.

  If you do not specify this property, `ThumbnailStorage.SEQUENTIAL` is set.

- `targetInterval`: [Duration](/cdk/api/v2/docs/aws-cdk-lib.Duration.html) — The targeted thumbnail-generation interval.

  Must be between 1 and 60 seconds. If you do not specify this property, `Duration.seconds(60)` is set.

## Methods

- `disable(): ThumbnailConfiguration // chainable` (static) — Disable the generation of thumbnails for recorded video.

- `interval(resolution?: Resolution, storage?: Storage[], targetInterval?: Duration): ThumbnailConfiguration // chainable` (static) — Enable the generation of thumbnails for recorded video at a time interval.

  **Parameters**

  - `resolution` — The desired resolution of recorded thumbnails for a stream.
  - `storage` — The format in which thumbnails are recorded for a stream.
  - `targetInterval` — The targeted thumbnail-generation interval.
