# VpcEgressConfigurationProperty

The VPC egress configuration for the network connector.

Specifies the subnets, security groups, and network protocol for routing outbound traffic through your VPC.

- Source: Generated code
- Type last changed: v2.273.0 · 8 Oct 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const vpcEgressConfigurationProperty: lambda.CfnNetworkConnector.VpcEgressConfigurationProperty = {
  associatedComputeResourceTypes: ['associatedComputeResourceTypes'],
  networkProtocol: 'networkProtocol',
  securityGroupIds: ['securityGroupIds'],
  subnetIds: ['subnetIds'],
};
```

## Properties

- `associatedComputeResourceTypes`: string[] (required) — The types of Lambda compute resources that can use this connector.

  Supported values are MicroVm and WebFunction.

- `networkProtocol`: string (required) — The network protocol for the connector.

  Specify IPv4 for IPv4-only networking, or DualStack for both IPv4 and IPv6.

- `securityGroupIds`: string[] (required) — The IDs of the VPC security groups to attach to the ENIs.

  All security groups must be in the same VPC as the subnets.

- `subnetIds`: string[] (required) — The IDs of the VPC subnets where Lambda provisions elastic network interfaces (ENIs).

  Specify 1 to 16 subnets. All subnets must be in the same VPC.
