@Stability(value=Stable)
public static interface CfnChannel.AutomaticInputFailoverSettingsProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnChannel.AutomaticInputFailoverSettingsProperty.Builder
A builder for
CfnChannel.AutomaticInputFailoverSettingsProperty |
static class |
CfnChannel.AutomaticInputFailoverSettingsProperty.Jsii$Proxy
An implementation for
CfnChannel.AutomaticInputFailoverSettingsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnChannel.AutomaticInputFailoverSettingsProperty.Builder |
builder() |
default Number |
getErrorClearTimeMsec()
This clear time defines the requirement a recovered input must meet to be considered healthy.
|
default Object |
getFailoverConditions()
A list of failover conditions.
|
default String |
getInputPreference()
Input preference when deciding which input to make active when a previously failed input has recovered.
|
default String |
getSecondaryInputId()
The input ID of the secondary input in the automatic input failover pair.
|
@Stability(value=Stable) @Nullable default Number getErrorClearTimeMsec()
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.
@Stability(value=Stable) @Nullable default Object getFailoverConditions()
If any of these conditions occur, MediaLive will perform a failover to the other input.
@Stability(value=Stable) @Nullable default String getInputPreference()
@Stability(value=Stable) @Nullable default String getSecondaryInputId()
@Stability(value=Stable) static CfnChannel.AutomaticInputFailoverSettingsProperty.Builder builder()
Copyright © 2022. All rights reserved.