Skip to content

Lambda  >  Structures  >  VpcConfig

VpcConfig

Structure Class

VpcConfig dataclass

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.

Attributes

ipv6_allowed_for_dual_stack class-attribute instance-attribute
ipv6_allowed_for_dual_stack: bool | None = None

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

security_group_ids class-attribute instance-attribute
security_group_ids: list[str] | None = None

A list of VPC security group IDs.

subnet_ids class-attribute instance-attribute
subnet_ids: list[str] | None = None

A list of VPC subnet IDs.