> **Experimental**
>
> `@aws-cdk/aws-mediaconnect-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# FailoverFailoverOptions

Options for switchover-mode source failover.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/flow.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0-alpha.0/packages/@aws-cdk/aws-mediaconnect-alpha/lib/flow.ts#L270)

## 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

- `primarySource`: string — The name of the source you want to treat as primary.

  **Default:** both sources are equal priority

  If set, MediaConnect always
  uses this source when it is available. When unset, both sources are treated with
  equal priority.

- `state`: [State](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.State.html) = State.ENABLED — Whether failover is enabled.

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