App::Perlambda::CLI::Create - Create a Lambda function on AWS with perl layer
$ perlambda create --region=<AWS region> \ --aws_account=<your AWS account> \ --iam_role=<your IAM role> \ --layer_version=<version of the layer> \ --func_name=<your func name> \ --handler=<your handler name> \ --zip=<func zip file>
This command creates a new Lambda function on AWS with perl layer.
This command uses AWS::CLIWrapper so it requires aws command is on your PATH. For more information, please see: https://aws.amazon.com/cli/
aws
--region
AWS region for deployment environment.
--aws_account
AWS account ID.
--iam_role
The Amazon Resource Name (ARN) of the function's execution role.
--layer_version
The version of Lambda Perl layer.
--func_name
The name of the Lambda function.
--handler
The name of the method within your code that Lambda calls to execute your function.
--zip
The path to the zip file of the code you are uploading.
--profile
Default: your system default
Your AWS profile.
--perl_version
Default: version of running perl
The version of perl runtime. You have to specify this parameter as 5_xx (e.g. 5_26 and 5.28).
5_xx
5_26
5.28
Perl 5.26 or later
awscli
Copyright (C) moznion.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
moznion <moznion@gmail.com>
To install App::Perlambda, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Perlambda
CPAN shell
perl -MCPAN -e shell install App::Perlambda
For more information on module installation, please visit the detailed CPAN module installation guide.