interface FailoverFailoverOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.FailoverFailoverOptions |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#FailoverFailoverOptions |
Java | software.amazon.awscdk.services.mediaconnect.alpha.FailoverFailoverOptions |
Python | aws_cdk.aws_mediaconnect_alpha.FailoverFailoverOptions |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป FailoverFailoverOptions |
Options for switchover-mode 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 failoverFailoverOptions: mediaconnect_alpha.FailoverFailoverOptions = {
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 flow without switching failover on.

.NET
Go
Java
Python
TypeScript (