Class Input
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();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.medialive.alpha.IInput
IInput.Jsii$Default, IInput.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Uniquely identifies this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInput(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedInput(software.amazon.jsii.JsiiObjectRef objRef) Input(software.constructs.Construct scope, String id, InputProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IInputfromInputArn(software.constructs.Construct scope, String id, String inputArn) (experimental) Import an existing input by its ARN.(experimental) The Amazon Resource Name (ARN) of the input.(experimental) The input class (STANDARD or SINGLE_PIPELINE).(experimental) For push inputs, the destination URLs where the upstream system sends content.(experimental) The ID of the input.(experimental) A reference to this Input resource.(experimental) For pull inputs, the source URLs where MediaLive pulls content from.(experimental) The input type (e.g.Methods inherited from class software.amazon.awscdk.Resource
applyCrossStackReferenceStrength, applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource, withMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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
(experimental) The Amazon Resource Name (ARN) of the input.- Specified by:
getInputArnin interfaceIInput
-
getInputId
(experimental) The ID of the input.- Specified by:
getInputIdin interfaceIInput
-
getInputRef
(experimental) A reference to this Input resource.- Specified by:
getInputRefin interfaceIInputRef
-
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:
getInputClassin interfaceIInput
-
getInputDestinations
(experimental) For push inputs, the destination URLs where the upstream system sends content.- Specified by:
getInputDestinationsin interfaceIInput
-
getInputSources
(experimental) For pull inputs, the source URLs where MediaLive pulls content from.- Specified by:
getInputSourcesin interfaceIInput
-
getInputType
(experimental) The input type (e.g. SRT_CALLER, MP4_FILE, URL_PULL). Undefined for imported inputs.- Specified by:
getInputTypein interfaceIInput
-