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

Attributes for importing an existing Bridge.

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

## Example

TypeScript:

```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';

declare const bridgeType: mediaconnect_alpha.BridgeType;
const bridgeAttributes: mediaconnect_alpha.BridgeAttributes = {
  bridgeArn: 'bridgeArn',

  // the properties below are optional
  bridgeName: 'bridgeName',
  bridgeType: bridgeType,
  isFailoverEnabled: false,
};
```

Python:

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

# bridge_type: mediaconnect_alpha.BridgeType

bridge_attributes = mediaconnect_alpha.BridgeAttributes(
    bridge_arn="bridgeArn",

    # the properties below are optional
    bridge_name="bridgeName",
    bridge_type=bridge_type,
    is_failover_enabled=False
)
```

Java:

```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.*;

BridgeType bridgeType;

BridgeAttributes bridgeAttributes = BridgeAttributes.builder()
        .bridgeArn("bridgeArn")

        // the properties below are optional
        .bridgeName("bridgeName")
        .bridgeType(bridgeType)
        .isFailoverEnabled(false)
        .build();
```

C# / .NET:

```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;

BridgeType bridgeType;

var bridgeAttributes = new BridgeAttributes {
    BridgeArn = "bridgeArn",

    // the properties below are optional
    BridgeName = "bridgeName",
    BridgeType = bridgeType,
    IsFailoverEnabled = false
};
```

Golang:

```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"

var bridgeType BridgeType

bridgeAttributes := &BridgeAttributes{
	BridgeArn: jsii.String("bridgeArn"),

	// the properties below are optional
	BridgeName: jsii.String("bridgeName"),
	BridgeType: bridgeType,
	IsFailoverEnabled: jsii.Boolean(false),
}
```

## Properties

- `bridgeArn`: string (required) — The ARN of the bridge.

- `bridgeName`: string — The name of the bridge.

  **Default:** bridgeName is not available on the imported construct

  Not encoded in the bridge ARN, so must be provided explicitly if the imported
  bridge needs to expose `bridgeName`.

- `bridgeType`: [BridgeType](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.BridgeType.html) — Indicates what type of bridge is imported.

  **Default:** bridgeType is not available on the imported construct

  Not encoded in the bridge ARN, so must be provided explicitly if the imported
  bridge is used with `addOutput()` or other methods that need the bridge type.

- `isFailoverEnabled`: boolean = false — Failover Configuration for Bridge.
