NAME
AWS::Lambda::AL2023 - AWS Lambda Custom Runtimes based on Amazon Linux 2023
SYNOPSIS
You can get the layer ARN in your script by using get_layer_info
.
use AWS::Lambda::AL2023;
my $info = AWS::Lambda::get_layer_info(
"5.38", # Perl Version
"us-east-1", # Region
"x86_64", # Architecture ("x86_64" or "arm64", optional, the default is "x86_64")
);
say $info->{runtime_arn}; # arn:aws:lambda:us-east-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
say $info->{runtime_version}; # 1
say $info->{paws_arn} # arn:aws:lambda:us-east-1:445285296882:layer:perl-5-38-paws-al2023-x86_64:2
say $info->{paws_version} # 2,
Or, you can use following one-liner.
perl -MAWS::Lambda -e 'AWS::Lambda::print_runtime_arn("5.38", "us-east-1")'
perl -MAWS::Lambda -e 'AWS::Lambda::print_paws_arn("5.38", "us-east-1")'
The list of all available layer ARN is here:
- Perl 5.38
-
- x86_64 architecture
-
arn:aws:lambda:af-south-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:ap-east-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:ap-northeast-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:ap-northeast-2:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:ap-northeast-3:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:ap-south-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:ap-south-2:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:ap-southeast-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:ap-southeast-2:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:ap-southeast-3:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:ap-southeast-4:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:ca-central-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:eu-central-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:eu-central-2:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:eu-north-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:eu-south-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:eu-south-2:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:eu-west-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:eu-west-2:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:eu-west-3:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:il-central-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:me-central-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:me-south-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:sa-east-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:us-east-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:us-east-2:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:us-west-1:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
arn:aws:lambda:us-west-2:445285296882:layer:perl-5-38-runtime-al2023-x86_64:1
- arm64 architecture
-
arn:aws:lambda:af-south-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:ap-east-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:ap-northeast-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:ap-northeast-2:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:ap-northeast-3:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:ap-south-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:ap-south-2:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:ap-southeast-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:ap-southeast-2:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:ap-southeast-3:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:ap-southeast-4:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:ca-central-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:eu-central-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:eu-central-2:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:eu-north-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:eu-south-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:eu-south-2:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:eu-west-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:eu-west-2:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:eu-west-3:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:il-central-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:me-central-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:me-south-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:sa-east-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:us-east-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:us-east-2:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:us-west-1:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
arn:aws:lambda:us-west-2:445285296882:layer:perl-5-38-runtime-al2023-arm64:1
Use Pre-built Zip Archives
URLs for Zip archives are:
https://shogo82148-lambda-perl-runtime-$REGION.s3.amazonaws.com/perl-$VERSION-runtime-al2023-$ARCHITECTURE.zip
And Paws:
https://shogo82148-lambda-perl-runtime-$REGION.s3.amazonaws.com/perl-$VERSION-paws-al2023-$ARCHITECTURE.zip
Pre-installed modules
The following modules are pre-installed for convenience.
- AWS::Lambda
- AWS::XRay
- JSON
- Cpanel::JSON::XS
- JSON::MaybeXS
- YAML
- YAML::Tiny
- YAML::XS
- Net::SSLeay
- IO::Socket::SSL
- Mozilla::CA
Paws is optional
SEE ALSO
LICENSE
The MIT License (MIT)
Copyright (C) ICHINOSE Shogo
AUTHOR
ICHINOSE Shogo