Interface InputAttachment
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
InputAttachment.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;
import software.amazon.awscdk.*;
AudioSelector audioSelector;
Bitrate bitrate;
CaptionSelector captionSelector;
FailoverCondition failoverCondition;
HlsScte35Source hlsScte35Source;
Input input;
InputFilter inputFilter;
InputPreference inputPreference;
ServerValidation serverValidation;
Smpte2038DataPreference smpte2038DataPreference;
SourceEndBehavior sourceEndBehavior;
VideoColorSpace videoColorSpace;
VideoColorSpaceUsage videoColorSpaceUsage;
VideoSelection videoSelection;
InputAttachment inputAttachment = InputAttachment.builder()
.input(input)
// the properties below are optional
.audioSelectors(List.of(audioSelector))
.automaticInputFailover(AutomaticInputFailover.builder()
.secondaryInput(input)
// the properties below are optional
.errorClearTime(Duration.minutes(30))
.failoverConditions(List.of(failoverCondition))
.inputPreference(inputPreference)
.build())
.captionSelectors(List.of(captionSelector))
.deblockFilter(false)
.denoiseFilter(false)
.filterStrength(123)
.inputAttachmentName("inputAttachmentName")
.inputFilter(inputFilter)
.logicalInterfaceNames(List.of("logicalInterfaceNames"))
.networkInputSettings(NetworkInputSettings.builder()
.hlsInputSettings(HlsInputSettings.builder()
.bandwidth(bitrate)
.bufferSegments(123)
.retries(123)
.retryInterval(Duration.minutes(30))
.scte35Source(hlsScte35Source)
.build())
.multicastSourceIp("multicastSourceIp")
.serverValidation(serverValidation)
.build())
.scte35Pid(123)
.smpte2038DataPreference(smpte2038DataPreference)
.sourceEndBehavior(sourceEndBehavior)
.videoSelector(VideoSelectorSettings.builder()
.colorSpace(videoColorSpace)
.colorSpaceUsage(videoColorSpaceUsage)
.hdr10(Hdr10Settings.builder()
.maxContentLightLevel(123)
.maxFrameAverageLightLevel(123)
.build())
.selectBy(videoSelection)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forInputAttachmentstatic final classAn implementation forInputAttachment -
Method Summary
Modifier and TypeMethodDescriptionstatic InputAttachment.Builderbuilder()default List<AudioSelector> (experimental) Audio selectors to extract specific audio tracks from the input.default AutomaticInputFailover(experimental) Automatic input failover to a secondary input.default List<CaptionSelector> (experimental) Caption selectors to extract specific caption tracks from the input.default Boolean(experimental) Whether to enable the deblock filter.default Boolean(experimental) Whether to enable the denoise filter.default Number(experimental) The filter strength (1-5).getInput()(experimental) The input to attach.default String(experimental) A name for this input attachment, used to reference it in schedule actions.default InputFilter(experimental) The input filter mode.(experimental) The logical interface names (MediaLive Anywhere) this input is wired to.default NetworkInputSettings(experimental) Network input settings (for URL pull inputs — HLS buffer, server validation).default Number(experimental) The SCTE-35 PID override for this input.default Smpte2038DataPreference(experimental) SMPTE-2038 ancillary data preference.default SourceEndBehavior(experimental) The source end behavior for file-based inputs.default VideoSelectorSettings(experimental) Video selector settings for the input (color space, PID selection).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInput
(experimental) The input to attach.[disable-awslint:prefer-ref-interface]
-
getAudioSelectors
(experimental) Audio selectors to extract specific audio tracks from the input.Default: - no audio selectors (uses default audio)
-
getAutomaticInputFailover
(experimental) Automatic input failover to a secondary input.When the active input meets any of the failover conditions, MediaLive switches to the secondary input without restarting the channel. This is input-source redundancy, distinct from the pipeline redundancy of
ChannelClass.STANDARD.Default: - no automatic input failover
-
getCaptionSelectors
(experimental) Caption selectors to extract specific caption tracks from the input.Default: - no caption selectors
-
getDeblockFilter
(experimental) Whether to enable the deblock filter.Default: false
-
getDenoiseFilter
(experimental) Whether to enable the denoise filter.Default: false
-
getFilterStrength
(experimental) The filter strength (1-5).1 is minimal, 5 is strongest.
Default: 1
-
getInputAttachmentName
(experimental) A name for this input attachment, used to reference it in schedule actions.Default: - auto-generated
-
getInputFilter
(experimental) The input filter mode.Default: InputFilter.AUTO
-
getLogicalInterfaceNames
(experimental) The logical interface names (MediaLive Anywhere) this input is wired to.Each name maps the input to a network interface on the channel's nodes.
Default: - no logical interface names
-
getNetworkInputSettings
(experimental) Network input settings (for URL pull inputs — HLS buffer, server validation).Default: - no network input settings
-
getScte35Pid
(experimental) The SCTE-35 PID override for this input.Default: - auto-detect
-
getSmpte2038DataPreference
(experimental) SMPTE-2038 ancillary data preference.Default: Smpte2038DataPreference.IGNORE
-
getSourceEndBehavior
(experimental) The source end behavior for file-based inputs.Default: SourceEndBehavior.LOOP for MP4 and TS file inputs, SourceEndBehavior.CONTINUE for all others
-
getVideoSelector
(experimental) Video selector settings for the input (color space, PID selection).Default: - no video selector (use default video)
-
builder
- Returns:
- a
InputAttachment.BuilderofInputAttachment
-