NAME
App::Perlambda::CLI::Create - Create a Lambda function on AWS with perl layer
SYNOPSIS
$ 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>
DESCRIPTION
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/
COMMANDLINE OPTIONS
--region (Mandatory)
AWS region for deployment environment.
--aws_account (Mandatory)
AWS account ID.
--iam_role (Mandatory)
The Amazon Resource Name (ARN) of the function's execution role.
--layer_version (Mandatory)
The version of Lambda Perl layer.
--func_name (Mandatory)
The name of the Lambda function.
--handler (Mandatory)
The name of the method within your code that Lambda calls to execute your function.
--zip (Mandatory)
The path to the zip file of the code you are uploading.
--profile (Optional)
Default: your system default
Your AWS profile.
--perl_version (Optional)
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).
REQUIREMENTS
Perl 5.26 or later
LICENSE
Copyright (C) moznion.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
moznion <moznion@gmail.com>