Skip to content
v2.274.0

VpcEgressConfigurationProperty Struct ​

The VPC egress configuration for the network connector.

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

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 ​

associatedComputeResourceTypesstring[]associated_compute_resource_typestyping.List[str]associatedComputeResourceTypesList<String>AssociatedComputeResourceTypesstring[]AssociatedComputeResourceTypes*[]*stringrequired#
The types of Lambda compute resources that can use this connector.

Supported values are MicroVm and WebFunction.

networkProtocolstringnetwork_protocolstrnetworkProtocolStringNetworkProtocolstringNetworkProtocol*stringrequired#
The network protocol for the connector.

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

securityGroupIdsstring[]security_group_idstyping.List[str]securityGroupIdsList<String>SecurityGroupIdsstring[]SecurityGroupIds*[]*stringrequired#
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.

subnetIdsstring[]subnet_idstyping.List[str]subnetIdsList<String>SubnetIdsstring[]SubnetIds*[]*stringrequired#
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.