interface BridgeFailoverOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.BridgeFailoverOptions |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#BridgeFailoverOptions |
Java | software.amazon.awscdk.services.mediaconnect.alpha.BridgeFailoverOptions |
Python | aws_cdk.aws_mediaconnect_alpha.BridgeFailoverOptions |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป BridgeFailoverOptions |
Options for bridge source failover.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediaconnect_alpha from '@aws-cdk/aws-mediaconnect-alpha';
const bridgeFailoverOptions: mediaconnect_alpha.BridgeFailoverOptions = {
primarySource: 'primarySource',
state: mediaconnect_alpha.State.ENABLED,
};
Properties
| Name | Type | Description |
|---|---|---|
| primary | string | The name of the source you want to treat as primary. |
| state? | State | Whether failover is enabled. |
primarySource?
Type:
string
(optional, default: both sources are equal priority)
The name of the source you want to treat as primary.
If set, MediaConnect always uses this source when it is available. When unset, both sources are treated with equal priority.
state?
Type:
State
(optional, default: State.ENABLED)
Whether failover is enabled.
Set to State.DISABLED to keep the configuration
on the bridge without switching failover on.

.NET
Go
Java
Python
TypeScript (