Configure Lambda functions with external VPCs in Infrastructure Composer
To start configuring a Lambda function with a VPC that is defined on another template, use the Lambda Function
enhanced component card. This card represents a Lambda function using the AWS Serverless Application Model (AWS SAM) AWS::Serverless::Function
resource type.
To configure a Lambda function with a VPC from an external template
-
From the Lambda Function resource properties panel, expand the VPC settings (advanced) dropdown section.
-
Select Assign to external VPC.
-
Provide values for the security groups and subnets to configure for the Lambda function. See Security group and subnet identifiers for details.
-
Save your changes.