Interface CfnRouterInputPropsMixin.IFailoverRouterInputConfigurationProperty
Configuration settings for a failover router input that allows switching between two input sources.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.MediaConnect
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnRouterInputPropsMixin.IFailoverRouterInputConfigurationProperty
Syntax (vb)
Public Interface CfnRouterInputPropsMixin.IFailoverRouterInputConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.MediaConnect;
var failoverRouterInputConfigurationProperty = new FailoverRouterInputConfigurationProperty {
NetworkInterfaceArn = "networkInterfaceArn",
PrimarySourceIndex = 123,
ProtocolConfigurations = new [] { new FailoverRouterInputProtocolConfigurationProperty {
Rist = new RistRouterInputConfigurationProperty {
Port = 123,
RecoveryLatencyMilliseconds = 123
},
Rtp = new RtpRouterInputConfigurationProperty {
ForwardErrorCorrection = "forwardErrorCorrection",
Port = 123
},
SrtCaller = new SrtCallerRouterInputConfigurationProperty {
DecryptionConfiguration = new SrtDecryptionConfigurationProperty {
EncryptionKey = new SecretsManagerEncryptionKeyConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
}
},
MinimumLatencyMilliseconds = 123,
SourceAddress = "sourceAddress",
SourcePort = 123,
StreamId = "streamId"
},
SrtListener = new SrtListenerRouterInputConfigurationProperty {
DecryptionConfiguration = new SrtDecryptionConfigurationProperty {
EncryptionKey = new SecretsManagerEncryptionKeyConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
}
},
MinimumLatencyMilliseconds = 123,
Port = 123
}
} },
SourcePriorityMode = "sourcePriorityMode"
};
Synopsis
Properties
| NetworkInterfaceArn | The ARN of the network interface to use for this failover router input. |
| PrimarySourceIndex | The index (0 or 1) that specifies which source in the protocol configurations list is currently active. |
| ProtocolConfigurations | A list of exactly two protocol configurations for the failover input sources. |
| SourcePriorityMode | Configuration settings for a failover router input that allows switching between two input sources. |
Properties
NetworkInterfaceArn
The ARN of the network interface to use for this failover router input.
string? NetworkInterfaceArn { get; }
Property Value
Remarks
PrimarySourceIndex
The index (0 or 1) that specifies which source in the protocol configurations list is currently active.
double? PrimarySourceIndex { get; }
Property Value
Remarks
Used to control which of the two failover sources is currently selected. This field is ignored when sourcePriorityMode is set to NO_PRIORITY
ProtocolConfigurations
A list of exactly two protocol configurations for the failover input sources.
object? ProtocolConfigurations { get; }
Property Value
Remarks
Both must use the same protocol type.
Type union: either IResolvable or (either IResolvable or CfnRouterInputPropsMixin.IFailoverRouterInputProtocolConfigurationProperty)[]
SourcePriorityMode
Configuration settings for a failover router input that allows switching between two input sources.
string? SourcePriorityMode { get; }