Class InputConfiguration

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

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-02T09:32:03.719Z") @Stability(Experimental) public class InputConfiguration extends software.amazon.jsii.JsiiObject
(experimental) Input configuration for a MediaPackage V2 Channel.

Use the static factory methods to create instances:

  • InputConfiguration.hls() for HLS input
  • InputConfiguration.cmaf() for CMAF input with optional CMAF-specific features

Example:

 Stack stack;
 ChannelGroup group = ChannelGroup.Builder.create(stack, "MyChannelGroup")
         .channelGroupName("my-test-channel-group")
         .build();
 Channel channel = Channel.Builder.create(stack, "MyChannel")
         .channelGroup(group)
         .channelName("my-testchannel")
         .input(InputConfiguration.cmaf())
         .build();
 OriginEndpoint endpoint = OriginEndpoint.Builder.create(stack, "MyOriginEndpoint")
         .channel(channel)
         .originEndpointName("my-test-endpoint")
         .segment(Segment.cmaf())
         .manifests(List.of(Manifest.hls(HlsManifestConfiguration.builder()
                 .manifestName("index")
                 .build())))
         .build();
 
  • Nested Class Summary

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

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

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

    Modifier and Type
    Method
    Description
    (experimental) Create a CMAF input configuration.
    (experimental) Create a CMAF input configuration.
    (experimental) Input switch configuration (CMAF only).
    (experimental) The input type (HLS or CMAF).
    (experimental) Output headers configuration (CMAF only).
    hls()
    (experimental) Create an HLS input configuration.

    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
  • Constructor Details

    • InputConfiguration

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

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

    • cmaf

      @Stability(Experimental) @NotNull public static InputConfiguration cmaf(@Nullable CmafInputProps props)
      (experimental) Create a CMAF input configuration.

      Parameters:
      props - CMAF-specific configuration including input switching and output headers.
    • cmaf

      @Stability(Experimental) @NotNull public static InputConfiguration cmaf()
      (experimental) Create a CMAF input configuration.
    • hls

      @Stability(Experimental) @NotNull public static InputConfiguration hls()
      (experimental) Create an HLS input configuration.
    • getInputType

      @Stability(Experimental) @NotNull public InputType getInputType()
      (experimental) The input type (HLS or CMAF).
    • getInputSwitchConfiguration

      @Stability(Experimental) @Nullable public InputSwitchConfiguration getInputSwitchConfiguration()
      (experimental) Input switch configuration (CMAF only).
    • getOutputHeaders

      @Stability(Experimental) @Nullable public List<HeadersCMSD> getOutputHeaders()
      (experimental) Output headers configuration (CMAF only).