Interface InputSwitchConfiguration

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
InputSwitchConfiguration.Jsii$Proxy

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-02T09:32:03.719Z") @Stability(Experimental) public interface InputSwitchConfiguration extends software.amazon.jsii.JsiiSerializable
(experimental) Input Switch Configuration.

Example:

 Stack stack;
 ChannelGroup group;
 Channel hlsChannel = Channel.Builder.create(stack, "HlsChannel")
         .channelGroup(group)
         .input(InputConfiguration.hls())
         .build();
 Channel cmafChannel = Channel.Builder.create(stack, "CmafChannel")
         .channelGroup(group)
         .input(InputConfiguration.cmaf(CmafInputProps.builder()
                 .inputSwitchConfiguration(InputSwitchConfiguration.builder()
                         .mqcsInputSwitching(true)
                         .build())
                 .outputHeaders(List.of(HeadersCMSD.MQCS))
                 .build()))
         .build();
 Channel simpleCmafChannel = Channel.Builder.create(stack, "SimpleCmafChannel")
         .channelGroup(group)
         .input(InputConfiguration.cmaf(CmafInputProps.builder()
                 .outputHeaders(List.of(HeadersCMSD.MQCS))
                 .build()))
         .build();
 
  • Method Details

    • getMqcsInputSwitching

      @Stability(Experimental) @Nullable default Boolean getMqcsInputSwitching()
      (experimental) When true, AWS Elemental MediaPackage performs input switching based on the MQCS.

      This setting is valid only when InputType is CMAF.

      Default: false

    • getPreferredInput

      @Stability(Experimental) @Nullable default IngestEndpoint getPreferredInput()
      (experimental) For CMAF inputs, indicates which input MediaPackage should prefer when both inputs have equal MQCS scores.

      Select 1 to prefer the first ingest endpoint, or 2 to prefer the second ingest endpoint. If you don't specify a preferred input, MediaPackage uses its default switching behavior when MQCS scores are equal.

      Default: - MediaPackage uses its default switching behavior

    • builder

      @Stability(Experimental) static InputSwitchConfiguration.Builder builder()
      Returns:
      a InputSwitchConfiguration.Builder of InputSwitchConfiguration