# BridgeFlowSourceProperty

The source of the bridge.

A flow source originates in MediaConnect as an existing cloud flow.

- 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 bridgeFlowSourceProperty: mediaconnect.CfnBridgeSource.BridgeFlowSourceProperty = {
  flowArn: 'flowArn',

  // the properties below are optional
  flowVpcInterfaceAttachment: {
    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

bridge_flow_source_property = mediaconnect.CfnBridgeSource.BridgeFlowSourceProperty(
    flow_arn="flowArn",

    # the properties below are optional
    flow_vpc_interface_attachment=mediaconnect.CfnBridgeSource.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.*;

BridgeFlowSourceProperty bridgeFlowSourceProperty = BridgeFlowSourceProperty.builder()
        .flowArn("flowArn")

        // the properties below are optional
        .flowVpcInterfaceAttachment(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 bridgeFlowSourceProperty = new BridgeFlowSourceProperty {
    FlowArn = "flowArn",

    // the properties below are optional
    FlowVpcInterfaceAttachment = 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"

bridgeFlowSourceProperty := &BridgeFlowSourceProperty{
	FlowArn: jsii.String("flowArn"),

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

## Properties

- `flowArn`: string (required) — The ARN of the cloud flow used as a source of this bridge.

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