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

Settings for blanking video, audio, and captions during ad avails.

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

## 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 }],
  availBlanking: {
    state: medialive.AvailBlankingState.ENABLED,
    image: medialive.FileLocation.fromBucket(bucket, 'slates/avail.png'),
  },
  blackoutSlate: {
    state: medialive.BlackoutSlateState.ENABLED,
    image: medialive.FileLocation.fromBucket(bucket, 'slates/blackout.png'),
  },
  outputGroups: [
    medialive.OutputGroupConfiguration.hls({
      name: 'hls',
      destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
      outputs: [{ encodes: [video], outputName: 'hls_out' }],
    }),
  ],
});
```

## Properties

- `image`: [FileLocation](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.FileLocation.html) — A blanking image to display during ad avails.

  **Default:** solid black

  Provide a `FileLocation` referencing an S3
  bucket (`FileLocation.fromBucket`, which auto-grants read access) or a URL (`FileLocation.url`).
  Only .bmp and .png images are supported. If not set, solid black is used.

- `state`: [AvailBlankingState](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.AvailBlankingState.html) — Whether to blank the output during ad avails.

  **Default:** ENABLED if image is provided, DISABLED otherwise
