class FailoverMode
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.FailoverMode |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#FailoverMode |
Java | software.amazon.awscdk.services.mediaconnect.alpha.FailoverMode |
Python | aws_cdk.aws_mediaconnect_alpha.FailoverMode |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป FailoverMode |
Failover Mode.
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 failoverMode = mediaconnect_alpha.FailoverMode.of('value');
Properties
| Name | Type | Description |
|---|---|---|
| value | string | The failover mode string value. |
| static FAILOVER | Failover | FAILOVER allows switching between different streams. |
| static MERGE | Failover | MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. |
value
Type:
string
The failover mode string value.
static FAILOVER
Type:
Failover
FAILOVER allows switching between different streams.
static MERGE
Type:
Failover
MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss.
Methods
| Name | Description |
|---|---|
| to | Returns the string value. |
| static of(value) | Use a custom failover mode value. |
toString()
public toString(): string
Returns
string
Returns the string value.
static of(value)
public static of(value: string): FailoverMode
Parameters
- value
stringโ The failover mode string value.
Returns
Use a custom failover mode value.

.NET
Go
Java
Python
TypeScript (