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

Factory class for creating VPC Interface configurations.

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/shared.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-mediaconnect-alpha/lib/shared.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';
const vpcInterface = new mediaconnect_alpha.VpcInterface();
```

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

vpc_interface = mediaconnect_alpha.VpcInterface()
```

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

VpcInterface vpcInterface = new VpcInterface();
```

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;

var vpcInterface = new VpcInterface();
```

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"

vpcInterface := mediaconnect_alpha.NewVpcInterface()
```

## Initializer

TypeScript:

```ts
new VpcInterface()
```

Python:

```python
VpcInterface()
```

Java:

```java
new VpcInterface()
```

C# / .NET:

```csharp
new VpcInterface()
```

Golang:

```go
NewVpcInterface()
```

## Methods

- `define(props: VpcInterfaceDefineProps): VpcInterfaceConfig` (static) — Define a new VPC Interface configuration.

  MediaConnect will create network interfaces automatically.

  **Parameters**

  - `props` — VPC Interface properties.

  **Returns:** VpcInterfaceConfig configuration object

- `fromNetworkInterfaces(props: VpcInterfaceFromNetworkInterfacesProps): VpcInterfaceConfig` (static) — Create a VPC Interface configuration using existing network interfaces.

  **Parameters**

  - `props` — VPC Interface properties with existing network interface IDs.

  **Returns:** VpcInterfaceConfig configuration object
