Skip to content
v2.273.0

Experimental

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

FailoverFailoverOptions Struct ​

Options for switchover-mode source failover.

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 failoverFailoverOptions: mediaconnect_alpha.FailoverFailoverOptions = {
  primarySource: 'primarySource',
  state: mediaconnect_alpha.State.ENABLED,
};

Properties ​

primarySourcestringprimary_sourcestrprimarySourceStringPrimarySourcestringPrimarySource*string= 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.

stateStatestateStatestateStateStateStateStateState= State.ENABLED#
Whether failover is enabled.

Set to State.DISABLED to keep the configuration on the flow without switching failover on.