VpcConfig - AWS Lambda
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

VpcConfig

The VPC security groups and subnets that are attached to a Lambda function. For more information, see Configuring a Lambda function to access resources in a VPC.

Contents

Ipv6AllowedForDualStack

Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.

Type: Boolean

Required: No

SecurityGroupIds

A list of VPC security group IDs.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 5 items.

Required: No

SubnetIds

A list of VPC subnet IDs.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 16 items.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: