Skip to content
v2.278.0

Experimental

@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

FailoverMode Class ​

Failover Mode.

Example ​

ts
// 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');
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediaconnect_alpha as mediaconnect_alpha

failover_mode = mediaconnect_alpha.FailoverMode.of("value")
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediaconnect.alpha.*;

FailoverMode failoverMode = FailoverMode.of("value");
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect.Alpha;

var failoverMode = FailoverMode.Of("value");
go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediaconnect_alpha "github.com/aws/aws-cdk-go/awsmediaconnectalpha"

failoverMode := mediaconnect_alpha.FailoverMode_Of(jsii.String("value"))

Properties ​

FAILOVERFailoverModeFAILOVERFailoverModeFAILOVERFailoverModeFAILOVERFailoverModeFAILOVERFailoverMode static #
FAILOVER allows switching between different streams.
MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss.
valuestringvaluestrvalueStringValuestringValue*string #
The failover mode string value.

Methods ​

of(value: string): FailoverMode // chainable@staticmethod def of(value: str) -> FailoverModepublic static FailoverMode of(String value)public static FailoverMode Of(string value)func Of(Value *string) FailoverMode static #
Use a custom failover mode value.
1 parameter

Parameters

  • valuevaluevaluevalueValue — The failover mode string value.
toString(): stringdef to_string(self, ) -> strpublic String toString()public string ToString()func ToString() *string #
Returns the string value.