interface FailoverRouterInputConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.CfnRouterInput.FailoverRouterInputConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmediaconnect#CfnRouterInput_FailoverRouterInputConfigurationProperty |
Java | software.amazon.awscdk.services.mediaconnect.CfnRouterInput.FailoverRouterInputConfigurationProperty |
Python | aws_cdk.aws_mediaconnect.CfnRouterInput.FailoverRouterInputConfigurationProperty |
TypeScript | aws-cdk-lib » aws_mediaconnect » CfnRouterInput » FailoverRouterInputConfigurationProperty |
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 { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const failoverRouterInputConfigurationProperty: mediaconnect.CfnRouterInput.FailoverRouterInputConfigurationProperty = {
networkInterfaceArn: 'networkInterfaceArn',
protocolConfigurations: [{
rist: {
port: 123,
recoveryLatencyMilliseconds: 123,
},
rtp: {
port: 123,
// the properties below are optional
forwardErrorCorrection: 'forwardErrorCorrection',
},
srtCaller: {
minimumLatencyMilliseconds: 123,
sourceAddress: 'sourceAddress',
sourcePort: 123,
// the properties below are optional
decryptionConfiguration: {
encryptionKey: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
streamId: 'streamId',
},
srtListener: {
minimumLatencyMilliseconds: 123,
port: 123,
// the properties below are optional
decryptionConfiguration: {
encryptionKey: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
},
}],
sourcePriorityMode: 'sourcePriorityMode',
// the properties below are optional
primarySourceIndex: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| network | string | The ARN of the network interface to use for this failover router input. |
| protocol | IResolvable | (IResolvable | Failover)[] | A list of exactly two protocol configurations for the failover input sources. |
| source | string | |
| primary | number | The index (0 or 1) that specifies which source in the protocol configurations list is currently active. |
networkInterfaceArn
Type:
string
The ARN of the network interface to use for this failover router input.
protocolConfigurations
Type:
IResolvable | (IResolvable | Failover)[]
A list of exactly two protocol configurations for the failover input sources.
Both must use the same protocol type.
sourcePriorityMode
Type:
string
primarySourceIndex?
Type:
number
(optional)
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

.NET
Go
Java
Python
TypeScript