Interface CfnRouterInput.FailoverRouterInputConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRouterInput.FailoverRouterInputConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnRouterInput
@Stability(Stable)
public static interface CfnRouterInput.FailoverRouterInputConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration settings for a failover router input that allows switching between two input sources.
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.mediaconnect.*;
FailoverRouterInputConfigurationProperty failoverRouterInputConfigurationProperty = FailoverRouterInputConfigurationProperty.builder()
.networkInterfaceArn("networkInterfaceArn")
.protocolConfigurations(List.of(FailoverRouterInputProtocolConfigurationProperty.builder()
.rist(RistRouterInputConfigurationProperty.builder()
.port(123)
.recoveryLatencyMilliseconds(123)
.build())
.rtp(RtpRouterInputConfigurationProperty.builder()
.port(123)
// the properties below are optional
.forwardErrorCorrection("forwardErrorCorrection")
.build())
.srtCaller(SrtCallerRouterInputConfigurationProperty.builder()
.minimumLatencyMilliseconds(123)
.sourceAddress("sourceAddress")
.sourcePort(123)
// the properties below are optional
.decryptionConfiguration(SrtDecryptionConfigurationProperty.builder()
.encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build())
.streamId("streamId")
.build())
.srtListener(SrtListenerRouterInputConfigurationProperty.builder()
.minimumLatencyMilliseconds(123)
.port(123)
// the properties below are optional
.decryptionConfiguration(SrtDecryptionConfigurationProperty.builder()
.encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build())
.build())
.build()))
.sourcePriorityMode("sourcePriorityMode")
// the properties below are optional
.primarySourceIndex(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRouterInput.FailoverRouterInputConfigurationPropertystatic final classAn implementation forCfnRouterInput.FailoverRouterInputConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The ARN of the network interface to use for this failover router input.default NumberThe index (0 or 1) that specifies which source in the protocol configurations list is currently active.A list of exactly two protocol configurations for the failover input sources.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNetworkInterfaceArn
The ARN of the network interface to use for this failover router input.- See Also:
-
getProtocolConfigurations
A list of exactly two protocol configurations for the failover input sources.Both must use the same protocol type.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRouterInput.FailoverRouterInputProtocolConfigurationProperty>- See Also:
-
getSourcePriorityMode
- See Also:
-
getPrimarySourceIndex
The index (0 or 1) that specifies which source in the protocol configurations list is currently active.Used to control which of the two failover sources is currently selected. This field is ignored when sourcePriorityMode is set to NO_PRIORITY
- See Also:
-
builder
-