AWS Lambda Function VpcConfig
VpcConfig is a property of the AWS::Lambda::Function resource that enables your AWS Lambda (Lambda) function to access resources in a
VPC. For more information, see Configuring a Lambda Function to Access Resources in an Amazon VPC in the AWS Lambda Developer Guide.
Syntax
JSON
{ "SecurityGroupIds" : [String, ...], "SubnetIds" : [String, ...] }
YAML
SecurityGroupIds: -StringSubnetIds: -String
Properties
SecurityGroupIds-
A list of one or more security groups IDs in the VPC that includes the resources to which your Lambda function requires access.
Required: Yes
Type: List of String values
SubnetIds-
A list of one or more subnet IDs in the VPC that includes the resources to which your Lambda function requires access.
Required: Yes
Type: List of String values
