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

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:41.001Z") @Stability(Experimental) public class ChannelClass extends software.amazon.jsii.JsiiObject
(experimental) The class of the channel.

Determines the pipeline redundancy.

Example:

 Stack stack;
 IInput input;
 IChannel mpChannel;
 EncodeConfiguration hdVideo = EncodeConfiguration.video(VideoEncodeProps.builder()
         .name("video_1080p")
         .codec(VideoCodecSettings.h265(H265SettingsProps.builder()
                 .rateControl(H265RateControl.qvbr(QvbrRateControlProps.builder()
                         .maxBitrate(Bitrate.mbps(8))
                         .qvbrQualityLevel(7)
                         .build()))
                 .framerate(Framerate.FPS_30)
                 .build()))
         .width(1920)
         .height(1080)
         .build());
 EncodeConfiguration sdVideo = EncodeConfiguration.video(VideoEncodeProps.builder()
         .name("video_480p")
         .codec(VideoCodecSettings.h265(H265SettingsProps.builder()
                 .rateControl(H265RateControl.qvbr(QvbrRateControlProps.builder()
                         .maxBitrate(Bitrate.mbps(2))
                         .qvbrQualityLevel(7)
                         .build()))
                 .framerate(Framerate.FPS_30)
                 .build()))
         .width(854)
         .height(480)
         .build());
 EncodeConfiguration audio = EncodeConfiguration.audio(AudioEncodeProps.builder()
         .name("audio_aac")
         .codec(AudioCodecSettings.aac(AacSettingsProps.builder().bitrate(Bitrate.kbps(192)).build()))
         .build());
 Channel.Builder.create(stack, "Channel")
         .channelClass(ChannelClass.STANDARD)
         .inputs(List.of(InputAttachment.builder().input(input).build()))
         .outputGroups(List.of(OutputGroupConfiguration.mediaPackageV2(MediaPackageV2OutputGroupProps.builder()
                 .name("emp")
                 .channel(mpChannel)
                 .outputs(List.of(MediaPackageV2OutputDefinition.builder().encode(hdVideo).outputName("hd").build(), MediaPackageV2OutputDefinition.builder().encode(sdVideo).outputName("sd").build(), MediaPackageV2OutputDefinition.builder().encode(audio).outputName("audio").build()))
                 .build())))
         .build();
 
  • 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 ChannelClass
    (experimental) Single pipeline — no redundancy.
    static final ChannelClass
    (experimental) Standard — two pipelines for redundancy.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ChannelClass(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    ChannelClass(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

    • SINGLE_PIPELINE

      @Stability(Experimental) public static final ChannelClass SINGLE_PIPELINE
      (experimental) Single pipeline — no redundancy.
    • STANDARD

      @Stability(Experimental) public static final ChannelClass STANDARD
      (experimental) Standard — two pipelines for redundancy.
  • Constructor Details

    • ChannelClass

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

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

    • of

      @Stability(Experimental) @NotNull public static ChannelClass 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.