forked from awslabs/aws-lambda-web-adapter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
template-x86_64.yaml
54 lines (50 loc) · 1.43 KB
/
template-x86_64.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
53
54
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: >
AWS Lambda Adapter (x86_64) - Run web applications on AWS Lambda
Resources:
LambdaAdapterLayerX86:
Type: AWS::Serverless::LayerVersion
Properties:
ContentUri: .
CompatibleRuntimes:
- nodejs16.x
- nodejs14.x
- nodejs12.x
- python3.9
- python3.8
- python3.7
- ruby2.7
- java11
- java8.al2
- java8
- go1.x
- dotnet6
- dotnetcore3.1
- provided.al2
- provided
Description: 'Layer for AWS Lambda Adapter x86_64'
LicenseInfo: 'Available under the Apache-2.0 license.'
RetentionPolicy: Retain
Metadata:
BuildMethod: makefile
BuildArchitecture: x86_64
LayerVersionPermission:
Type: AWS::Lambda::LayerVersionPermission
DeletionPolicy: Retain
UpdateReplacePolicy: Retain
Properties:
Action: lambda:GetLayerVersion
LayerVersionArn: !Ref LambdaAdapterLayerX86
Principal: '*'
LambdaAdapterLayerX86Parameter:
Type: AWS::SSM::Parameter
Properties:
Name: /lambda-web-adapter/layer/x86_64/latest
Description: 'Layer ARN for the latest Lambda Web Adapter X86_64 Layer'
Type: String
Value: !Ref LambdaAdapterLayerX86
Outputs:
LambdaAdapterLayerX86Arn:
Description: "arn for LambdaAdapterLayerX86"
Value: !Ref LambdaAdapterLayerX86