Class ScalingBehavior

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.medialive.alpha.ScalingBehavior
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:41.322Z") @Stability(Experimental) public class ScalingBehavior extends software.amazon.jsii.JsiiObject
(experimental) Video scaling behavior.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.medialive.alpha.*;
 ScalingBehavior scalingBehavior = ScalingBehavior.DEFAULT;
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ScalingBehavior
    (experimental) May insert black boxes to match output resolution.
    static final ScalingBehavior
    (experimental) Intelligently crop the video to focus on key subjects (9:16 vertical).
    static final ScalingBehavior
    (experimental) Stretch video to fill the output resolution.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ScalingBehavior(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    ScalingBehavior(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) The underlying string value passed to CloudFormation.
    of(String value)
    (experimental) A value not yet modelled by AWS CDK.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • DEFAULT

      @Stability(Experimental) public static final ScalingBehavior DEFAULT
      (experimental) May insert black boxes to match output resolution.
    • SMART_CROP

      @Stability(Experimental) public static final ScalingBehavior SMART_CROP
      (experimental) 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

      @Stability(Experimental) public static final ScalingBehavior STRETCH_TO_OUTPUT
      (experimental) Stretch video to fill the output resolution.
  • Constructor Details

    • ScalingBehavior

      protected ScalingBehavior(software.amazon.jsii.JsiiObjectRef objRef)
    • ScalingBehavior

      protected ScalingBehavior(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • of

      @Stability(Experimental) @NotNull public static ScalingBehavior of(@NotNull String value)
      (experimental) A value not yet modelled by AWS CDK.

      Parameters:
      value - This parameter is required.
    • getValue

      @Stability(Experimental) @NotNull public String getValue()
      (experimental) The underlying string value passed to CloudFormation.