Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

AWS Lambda function

fn = lambda_.Function(self, "MyFunction",
    runtime=lambda_.Runtime.NODEJS_16_X,
    handler="index.handler",
    code=lambda_.Code.from_asset(path.join(__dirname, "lambda-handler"))
)
Source by docs.aws.amazon.com #
 
PREVIOUS NEXT
Tagged: #AWS #Lambda #function
ADD COMMENT
Topic
Name
1+1 =