forked from awslabs/aws-lambda-web-adapter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
template-arm64.yaml
52 lines (48 loc) · 1.42 KB
/
template-arm64.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: >
AWS Lambda Adapter (Arm64) - Run web applications on AWS Lambda
Resources:
LambdaAdapterLayerArm64:
Type: AWS::Serverless::LayerVersion
Properties:
ContentUri: .
CompatibleArchitectures:
- arm64
CompatibleRuntimes:
- nodejs16.x
- nodejs14.x
- nodejs12.x
- python3.9
- python3.8
- ruby2.7
- java11
- java8.al2
- dotnet6
- dotnetcore3.1
- provided.al2
Description: 'Layer for AWS Lambda Adapter arm64'
LicenseInfo: 'Available under the Apache-2.0 license.'
RetentionPolicy: Retain
Metadata:
BuildMethod: makefile
BuildArchitecture: arm64
LayerVersionPermission:
Type: AWS::Lambda::LayerVersionPermission
DeletionPolicy: Retain
UpdateReplacePolicy: Retain
Properties:
Action: lambda:GetLayerVersion
LayerVersionArn: !Ref LambdaAdapterLayerArm64
Principal: '*'
LambdaAdapterLayerArm64Parameter:
Type: AWS::SSM::Parameter
Properties:
Name: /lambda-web-adapter/layer/arm64/latest
Description: 'Layer ARN for the latest Lambda Web Adapter Arm64 Layer'
Type: String
Value: !Ref LambdaAdapterLayerArm64
Outputs:
LambdaAdapterLayerArm64Arn:
Description: "arn for LambdaAdapterLayerArm64"
Value: !Ref LambdaAdapterLayerArm64