# GatewayBridgeSourceProperty

The source configuration for cloud flows receiving a stream from a bridge.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// 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 gatewayBridgeSourceProperty: mediaconnect.CfnFlowSource.GatewayBridgeSourceProperty = {
  bridgeArn: 'bridgeArn',

  // the properties below are optional
  vpcInterfaceAttachment: {
    vpcInterfaceName: 'vpcInterfaceName',
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediaconnect as mediaconnect

gateway_bridge_source_property = mediaconnect.CfnFlowSource.GatewayBridgeSourceProperty(
    bridge_arn="bridgeArn",

    # the properties below are optional
    vpc_interface_attachment=mediaconnect.CfnFlowSource.VpcInterfaceAttachmentProperty(
        vpc_interface_name="vpcInterfaceName"
    )
)
```

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

GatewayBridgeSourceProperty gatewayBridgeSourceProperty = GatewayBridgeSourceProperty.builder()
        .bridgeArn("bridgeArn")

        // the properties below are optional
        .vpcInterfaceAttachment(VpcInterfaceAttachmentProperty.builder()
                .vpcInterfaceName("vpcInterfaceName")
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect;

var gatewayBridgeSourceProperty = new GatewayBridgeSourceProperty {
    BridgeArn = "bridgeArn",

    // the properties below are optional
    VpcInterfaceAttachment = new VpcInterfaceAttachmentProperty {
        VpcInterfaceName = "vpcInterfaceName"
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

gatewayBridgeSourceProperty := &GatewayBridgeSourceProperty{
	BridgeArn: jsii.String("bridgeArn"),

	// the properties below are optional
	VpcInterfaceAttachment: &VpcInterfaceAttachmentProperty{
		VpcInterfaceName: jsii.String("vpcInterfaceName"),
	},
}
```

## Properties

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

- `vpcInterfaceAttachment`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowSource.VpcInterfaceAttachmentProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnFlowSource.VpcInterfaceAttachmentProperty.html) — The name of the VPC interface attachment to use for this bridge source.
