# ConfigProperty

The network configuration for the connector.

Specify a VpcEgressConfiguration to enable outbound traffic routing through your VPC.

- Source: Generated code
- Type last changed: v2.261.0 · 2 Jul 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 configProperty: lambda.CfnNetworkConnector.ConfigProperty = {
  vpcEgressConfiguration: {
    associatedComputeResourceTypes: ['associatedComputeResourceTypes'],
    networkProtocol: 'networkProtocol',
    securityGroupIds: ['securityGroupIds'],
    subnetIds: ['subnetIds'],
  },
};
```

## Properties

- `vpcEgressConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnNetworkConnector.VpcEgressConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.CfnNetworkConnector.VpcEgressConfigurationProperty.html) (required) — The VPC egress configuration for the network connector.

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