class ScalingBehavior
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.ScalingBehavior |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#ScalingBehavior |
Java | software.amazon.awscdk.services.medialive.alpha.ScalingBehavior |
Python | aws_cdk.aws_medialive_alpha.ScalingBehavior |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป ScalingBehavior |
Video scaling behavior.
Example
// 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
| Name | Type | Description |
|---|---|---|
| value | string | The underlying string value passed to CloudFormation. |
| static DEFAULT | Scaling | May insert black boxes to match output resolution. |
| static SMART_CROP | Scaling | Intelligently crop the video to focus on key subjects (9:16 vertical). |
| static STRETCH_TO_OUTPUT | Scaling | Stretch video to fill the output resolution. |
value
Type:
string
The underlying string value passed to CloudFormation.
static DEFAULT
Type:
Scaling
May insert black boxes to match output resolution.
static SMART_CROP
Type:
Scaling
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.
static STRETCH_TO_OUTPUT
Type:
Scaling
Stretch video to fill the output resolution.
Methods
| Name | Description |
|---|---|
| static of(value) | A value not yet modelled by AWS CDK. |
static of(value)
public static of(value: string): ScalingBehavior
Parameters
- value
string
Returns
A value not yet modelled by AWS CDK.

.NET
Go
Java
Python
TypeScript (