-
-
30 May 2022 14:11:25 UTC
- Distribution: AWS-Lambda
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (0)
- Testers (218 / 0 / 41)
- Kwalitee
Bus factor: 1- 69.43% Coverage
- License: mit
- Perl: v5.26.0
- Activity
24 month- Tools
- Download (69.88KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
AWS::Lambda::Bootstrap - It's the bootrap script for AWS Lambda Custom Runtime.
SYNOPSIS
Save the following script as
bootstrap
, and then zip it with your perl script. Now, you can start using Perl in AWS Lambda!#!perl use strict; use warnings; use utf8; use AWS::Lambda::Bootstrap; bootstrap(@ARGV);
Prebuild Perl Runtime Layer includes the
bootstrap
script. So, if you use the Layer, no need to include thebootstrap
script into your zip. See AWS::Lambda for more details.DESCRIPTION
The format of the handler is following.
sub handle { my ($payload, $context) = @_; # handle the event here. my $result = {}; return $result; }
$context
is an instance of AWS::Lambda::Context.LICENSE
The MIT License (MIT)
Copyright (C) Ichinose Shogo.
AUTHOR
Ichinose Shogo <shogo82148@gmail.com>
Module Install Instructions
To install AWS::Lambda, copy and paste the appropriate command in to your terminal.
cpanm AWS::Lambda
perl -MCPAN -e shell install AWS::Lambda
For more information on module installation, please visit the detailed CPAN module installation guide.