interface ConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnNetworkConnector.ConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnNetworkConnector_ConfigProperty |
Java | software.amazon.awscdk.services.lambda.CfnNetworkConnector.ConfigProperty |
Python | aws_cdk.aws_lambda.CfnNetworkConnector.ConfigProperty |
TypeScript | aws-cdk-lib » aws_lambda » CfnNetworkConnector » ConfigProperty |
The network configuration for the connector.
Specify a VpcEgressConfiguration to enable outbound traffic routing through your VPC.
Example
// 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'],
subnetIds: ['subnetIds'],
// the properties below are optional
networkProtocol: 'networkProtocol',
securityGroupIds: ['securityGroupIds'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| vpc | IResolvable | Vpc | The VPC egress configuration for the network connector. |
vpcEgressConfiguration
Type:
IResolvable | Vpc
The VPC egress configuration for the network connector.
Specifies the subnets, security groups, and network protocol for routing outbound traffic through your VPC.

.NET
Go
Java
Python
TypeScript