FunctionVpcConfig

data class FunctionVpcConfig(val ipv6AllowedForDualStack: Boolean? = null, val securityGroupIds: List<String>? = null, val subnetIds: List<String>? = null)

The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC.

Constructors

Link copied to clipboard
fun FunctionVpcConfig(ipv6AllowedForDualStack: Boolean? = null, securityGroupIds: List<String>? = null, subnetIds: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A boolean indicating whether IPv6 protocols will be allowed for dual stack subnets

Link copied to clipboard

A list of VPC security groups IDs.

Link copied to clipboard
val subnetIds: List<String>? = null

A list of VPC subnet IDs.