interface VpcEgressConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnNetworkConnector.VpcEgressConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnNetworkConnector_VpcEgressConfigurationProperty |
Java | software.amazon.awscdk.services.lambda.CfnNetworkConnector.VpcEgressConfigurationProperty |
Python | aws_cdk.aws_lambda.CfnNetworkConnector.VpcEgressConfigurationProperty |
TypeScript | aws-cdk-lib » aws_lambda » CfnNetworkConnector » VpcEgressConfigurationProperty |
The VPC egress configuration for the network connector.
Specifies the subnets, security groups, and network protocol for routing outbound traffic 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 vpcEgressConfigurationProperty: lambda.CfnNetworkConnector.VpcEgressConfigurationProperty = {
associatedComputeResourceTypes: ['associatedComputeResourceTypes'],
subnetIds: ['subnetIds'],
// the properties below are optional
networkProtocol: 'networkProtocol',
securityGroupIds: ['securityGroupIds'],
};
Properties
| Name | Type | Description |
|---|---|---|
| associated | string[] | The types of Lambda compute resources that can use this connector. |
| subnet | string[] | The IDs of the VPC subnets where Lambda provisions elastic network interfaces (ENIs). |
| network | string | The network protocol for the connector. |
| security | string[] | The IDs of the VPC security groups to attach to the ENIs. |
associatedComputeResourceTypes
Type:
string[]
The types of Lambda compute resources that can use this connector.
Currently, only MicroVm is supported.
subnetIds
Type:
string[]
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.
networkProtocol?
Type:
string
(optional)
The network protocol for the connector.
Specify IPv4 for IPv4-only networking, or DualStack for both IPv4 and IPv6.
securityGroupIds?
Type:
string[]
(optional)
The IDs of the VPC security groups to attach to the ENIs.
Specify 0 to 5 security groups. All security groups must be in the same VPC as the subnets.

.NET
Go
Java
Python
TypeScript