Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

ReadMe.md

λ#

LambdaSharp Function in VPC

Before you begin, make sure to setup your LambdaSharp CLI.

Module Definition

Functions, like resources, have a Properties section that can be used to fine tune the Lambda settings, such as putting the Lambda function in a VPC.

For additional details about what can be set in the Properties section see the AWS::Lambda::Function type documentation.

Module: Sample.VpcFunction
Description: A sample module using function in VPC
Items:

  - Parameter: SecurityGroupIds
    Type: CommaDelimitedList

  - Parameter: SubnetIds
    Type: CommaDelimitedList

  - Function: MyFunction
    Memory: 128
    Timeout: 30
    Properties:
      VpcConfig:
        SecurityGroupIds: !Ref SecurityGroupIds
        SubnetIds: !Ref SubnetIds