AutomaticInputFailoverSettingsProperty Struct
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
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const automaticInputFailoverSettingsProperty: medialive.CfnChannel.AutomaticInputFailoverSettingsProperty = {
errorClearTimeMsec: 123,
failoverConditions: [{
failoverConditionSettings: {
audioSilenceSettings: {
audioSelectorName: 'audioSelectorName',
audioSilenceThresholdMsec: 123,
},
inputLossSettings: {
inputLossThresholdMsec: 123,
},
videoBlackSettings: {
blackDetectThreshold: 123,
videoBlackThresholdMsec: 123,
},
},
}],
inputPreference: 'inputPreference',
secondaryInputId: 'secondaryInputId',
};
Properties
errorClearTimeMsecnumbererror_clear_time_msecint | floaterrorClearTimeMsecNumberErrorClearTimeMsecdoubleErrorClearTimeMsec*float64#This clear time defines the requirement a recovered input must meet to be considered healthy.
notes
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.
failoverConditionsIResolvable | IResolvable | CfnChannel.FailoverConditionProperty[]failover_conditionstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FailoverConditionProperty]]]failoverConditionsIResolvableFailoverConditionsIResolvableFailoverConditionsinterface{}#A list of failover conditions.
If any of these conditions occur, MediaLive will perform a failover to the other input.
inputPreferencestringinput_preferencestrinputPreferenceStringInputPreferencestringInputPreference*string#Input preference when deciding which input to make active when a previously failed input has recovered.
secondaryInputIdstringsecondary_input_idstrsecondaryInputIdStringSecondaryInputIdstringSecondaryInputId*string#The input ID of the secondary input in the automatic input failover pair.