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

Factory class for creating bridge source configurations.

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

## Example

```ts
declare const stack: Stack;
declare const bridge: Bridge;
declare const flow: Flow;

// Add a flow source to an egress bridge (requires failover to be enabled)
const additionalSource = new BridgeSource(stack, 'AdditionalSource', {
  bridgeSourceName: 'backup-source',
  bridge: bridge,
  source: BridgeSourceConfiguration.flow({
    flow: flow,
  }),
});
```

## Methods

- `flow(source: BridgeFlowSource): BridgeSourceConfiguration // chainable` (static) — Create a flow source configuration for a bridge source.

  **Parameters**

  - `source` — Flow source configuration.

  **Returns:** Bridge source configuration with flow source

- `network(source: BridgeNetworkSource): BridgeSourceConfiguration // chainable` (static) — Create a network source configuration for a bridge source.

  **Parameters**

  - `source` — Network source configuration.

  **Returns:** Bridge source configuration with network source
