aws-cdk-lib.aws_mediaconnect.CfnBridge.FailoverConfigProperty

interface FailoverConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.MediaConnect.CfnBridge.FailoverConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmediaconnect#CfnBridge_FailoverConfigProperty
Javasoftware.amazon.awscdk.services.mediaconnect.CfnBridge.FailoverConfigProperty
Pythonaws_cdk.aws_mediaconnect.CfnBridge.FailoverConfigProperty
TypeScript aws-cdk-lib » aws_mediaconnect » CfnBridge » FailoverConfigProperty

The settings for source failover.

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 failoverConfigProperty: mediaconnect.CfnBridge.FailoverConfigProperty = {
  failoverMode: 'failoverMode',

  // the properties below are optional
  sourcePriority: {
    primarySource: 'primarySource',
  },
  state: 'state',
};

Properties

NameTypeDescription
failoverModestringThe type of failover you choose for this flow.
sourcePriority?IResolvable | SourcePriorityPropertyThe priority you want to assign to a source.
state?stringThe state of source failover on the flow.

failoverMode

Type: string

The type of failover you choose for this flow.

MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.


sourcePriority?

Type: IResolvable | SourcePriorityProperty (optional)

The priority you want to assign to a source.

You can have a primary stream and a backup stream or two equally prioritized streams. This setting only applies when Failover Mode is set to FAILOVER.


state?

Type: string (optional)

The state of source failover on the flow.

If the state is inactive, the flow can have only one source. If the state is active, the flow can have one or two sources.