---
title: "POST /v1/flows/{flowArn}/vpcInterfaces"
method: POST
path: "/v1/flows/{flowArn}/vpcInterfaces"
---

# POST /v1/flows/{flowArn}/vpcInterfaces

`POST /v1/flows/{flowArn}/vpcInterfaces`

Adds VPC interfaces to flow

## Path parameters

- `flowArn` string, required

## Request body

- object
  - `vpcInterfaces` VpcInterfaceRequest[], required — A list of VPC interfaces that you want to add.
    - `Name` string, required — The name of the VPC Interface. This value must be unique within the current flow.
    - `NetworkInterfaceType` 'ena' | 'efa' — The type of network interface. If this value is not included in the request, MediaConnect uses ENA as the networkInterfaceType.
    - `RoleArn` string, required — Role Arn MediaConnect can assumes to create ENIs in customer's account
    - `SecurityGroupIds` String[], required — Security Group IDs to be used on ENI.
    - `SubnetId` string, required — Subnet must be in the AZ of the Flow

## Response `201`

Success

- AddFlowVpcInterfacesResponse
  - `FlowArn` string — The ARN of the flow that these VPC interfaces were added to.
  - `VpcInterfaces` VpcInterface[] — The details of the newly added VPC interfaces.
    - `Name` string, required — Immutable and has to be a unique against other VpcInterfaces in this Flow.
    - `NetworkInterfaceIds` String[], required — IDs of the network interfaces created in customer's account by MediaConnect.
    - `NetworkInterfaceType` 'ena' | 'efa', required — The type of network interface.
    - `RoleArn` string, required — Role Arn MediaConnect can assumes to create ENIs in customer's account
    - `SecurityGroupIds` String[], required — Security Group IDs to be used on ENI.
    - `SubnetId` string, required — Subnet must be in the AZ of the Flow

## Other responses

- `480` — BadRequestException
- `481` — InternalServerErrorException
- `482` — ForbiddenException
- `483` — NotFoundException
- `484` — ServiceUnavailableException
- `485` — TooManyRequestsException

---

[API](https://skmtc.net/aws/apis/mediaconnect.md) · [All operations](https://skmtc.net/aws/apis/mediaconnect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/mediaconnect/versions/695822d698d7/schema)
