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

Video scaling behavior.

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

## 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';
const scalingBehavior = medialive_alpha.ScalingBehavior.DEFAULT;
```

## Properties

- `DEFAULT`: [ScalingBehavior](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.ScalingBehavior.html) (required) (static) — May insert black boxes to match output resolution.

- `SMART_CROP`: [ScalingBehavior](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.ScalingBehavior.html) (required) (static) — Intelligently crop the video to focus on key subjects (9:16 vertical).

  Requires an Elemental Inference feed on the channel via `inferenceFeed`. Do NOT include `FeedOutput.cropping()` on the feed — MediaLive auto-inserts it.

- `STRETCH_TO_OUTPUT`: [ScalingBehavior](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.ScalingBehavior.html) (required) (static) — Stretch video to fill the output resolution.

- `value`: string (required) — The underlying string value passed to CloudFormation.

## Methods

- `of(value: string): ScalingBehavior // chainable` (static) — A value not yet modelled by AWS CDK.
