java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.medialive.alpha.Input
All Implemented Interfaces:
IEnvironmentAware, IInputRef, IResource, IInput, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:41.184Z") @Stability(Experimental) public class Input extends Resource implements IInput
(experimental) Defines an AWS Elemental MediaLive Input.

Example:

 Stack stack;
 ISecret passphrase;
 InputSecurityGroup sg = InputSecurityGroup.Builder.create(stack, "SrtSg")
         .allowlistRules(List.of("203.0.113.0/24"))
         .build();
 Input.Builder.create(stack, "SrtListenerInput")
         .inputName("srt-listener")
         .input(InputConfiguration.srtListener(SrtListenerInputProps.builder()
                 .inputSecurityGroups(List.of(sg))
                 .minimumLatency(Duration.millis(500))
                 .streamId("my-stream-id")
                 .decryption(SrtDecryptionProps.builder()
                         .algorithm(SrtDecryptionAlgorithm.AES256)
                         .passphraseSecret(passphrase)
                         .build())
                 .build()))
         .build();
 
  • Field Details

    • PROPERTY_INJECTION_ID

      @Stability(Experimental) public static final String PROPERTY_INJECTION_ID
      (experimental) Uniquely identifies this class.
  • Constructor Details

    • Input

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

      protected Input(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Input

      @Stability(Experimental) public Input(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull InputProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromInputArn

      @Stability(Experimental) @NotNull public static IInput fromInputArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String inputArn)
      (experimental) Import an existing input by its ARN.

      The id is parsed out of the ARN.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      inputArn - This parameter is required.
    • getInputArn

      @Stability(Experimental) @NotNull public String getInputArn()
      (experimental) The Amazon Resource Name (ARN) of the input.
      Specified by:
      getInputArn in interface IInput
    • getInputId

      @Stability(Experimental) @NotNull public String getInputId()
      (experimental) The ID of the input.
      Specified by:
      getInputId in interface IInput
    • getInputRef

      @Stability(Experimental) @NotNull public InputReference getInputRef()
      (experimental) A reference to this Input resource.
      Specified by:
      getInputRef in interface IInputRef
    • getInputClass

      @Stability(Experimental) @Nullable public String getInputClass()
      (experimental) The input class (STANDARD or SINGLE_PIPELINE).

      Only available for input types where the pipeline count is known at construct time (e.g. mediaConnectRouter). Undefined for imported inputs and other types.

      Specified by:
      getInputClass in interface IInput
    • getInputDestinations

      @Stability(Experimental) @Nullable public List<String> getInputDestinations()
      (experimental) For push inputs, the destination URLs where the upstream system sends content.
      Specified by:
      getInputDestinations in interface IInput
    • getInputSources

      @Stability(Experimental) @Nullable public List<String> getInputSources()
      (experimental) For pull inputs, the source URLs where MediaLive pulls content from.
      Specified by:
      getInputSources in interface IInput
    • getInputType

      @Stability(Experimental) @Nullable public String getInputType()
      (experimental) The input type (e.g. SRT_CALLER, MP4_FILE, URL_PULL). Undefined for imported inputs.
      Specified by:
      getInputType in interface IInput