Interface CfnChannel.AutomaticInputFailoverSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChannel.AutomaticInputFailoverSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnChannel
@Stability(Stable)
public static interface CfnChannel.AutomaticInputFailoverSettingsProperty
extends software.amazon.jsii.JsiiSerializable
Settings to configure the conditions that will define the input as unhealthy and that will make MediaLive fail over to the other input in the input failover pair.
The parent of this entity is InputAttachment.
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.*;
AutomaticInputFailoverSettingsProperty automaticInputFailoverSettingsProperty = AutomaticInputFailoverSettingsProperty.builder()
.errorClearTimeMsec(123)
.failoverConditions(List.of(FailoverConditionProperty.builder()
.failoverConditionSettings(FailoverConditionSettingsProperty.builder()
.audioSilenceSettings(AudioSilenceFailoverSettingsProperty.builder()
.audioSelectorName("audioSelectorName")
.audioSilenceThresholdMsec(123)
.build())
.inputLossSettings(InputLossFailoverSettingsProperty.builder()
.inputLossThresholdMsec(123)
.build())
.videoBlackSettings(VideoBlackFailoverSettingsProperty.builder()
.blackDetectThreshold(123)
.videoBlackThresholdMsec(123)
.build())
.build())
.build()))
.inputPreference("inputPreference")
.secondaryInputId("secondaryInputId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnChannel.AutomaticInputFailoverSettingsPropertystatic final classAn implementation forCfnChannel.AutomaticInputFailoverSettingsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThis clear time defines the requirement a recovered input must meet to be considered healthy.default ObjectA list of failover conditions.default StringInput preference when deciding which input to make active when a previously failed input has recovered.default StringThe input ID of the secondary input in the automatic input failover pair.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getErrorClearTimeMsec
This clear time defines the requirement a recovered input must meet to be considered healthy.The input must have no failover conditions for this length of time. Enter a time in milliseconds. This value is particularly important if the input_preference for the failover pair is set to PRIMARY_INPUT_PREFERRED, because after this time, MediaLive will switch back to the primary input.
- See Also:
-
getFailoverConditions
A list of failover conditions.If any of these conditions occur, MediaLive will perform a failover to the other input.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnChannel.FailoverConditionProperty>- See Also:
-
getInputPreference
Input preference when deciding which input to make active when a previously failed input has recovered.- See Also:
-
getSecondaryInputId
The input ID of the secondary input in the automatic input failover pair.- See Also:
-
builder
-