forked from serverlesspub/rsvg-convert-aws-lambda-binary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.yaml
38 lines (35 loc) · 1.29 KB
/
template.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
AWSTemplateFormatVersion: 2010-09-09
Transform: AWS::Serverless-2016-10-31
Description: >
Static build of rsvg-convert (librsvg) for Amazon Linux 2
Check out https://github.com/serverlesspub/rsvg-convert-aws-lambda-binary
for more information.
Resources:
RsvgConvertLayer:
Type: AWS::Serverless::LayerVersion
Properties:
LayerName: rsvg-convert
Description: Static build of rsvg-convert (librsvg) for Amazon Linux 2
ContentUri: result/
CompatibleRuntimes:
- nodejs10.x
LicenseInfo: https://gitlab.gnome.org/GNOME/librsvg/blob/master/COPYING
RetentionPolicy: Retain
Outputs:
LayerVersion:
Description: Layer ARN Reference
Value: !Ref RsvgConvertLayer
Metadata:
AWS::ServerlessRepo::Application:
Name: rsvg-convert-lambda-layer
Description: >
Static build of RsvgConvert for Amazon Linux 2,
packaged as a Lambda layer. Bundles RsvgConvert 2.26.3.
Author: Gojko Adzic
SpdxLicenseId: GPL-2.0
LicenseUrl: LICENSE.txt
ReadmeUrl: README-SAR.md
Labels: ['layer', 'svg', 'pdf', 'png', 'lambda', 'librsvg', 'rsvg-convert']
HomePageUrl: https://github.com/serverlesspub/rsvg-convert-aws-lambda-binary
SemanticVersion: 1.0.0
SourceCodeUrl: https://github.com/serverlesspub/rsvg-convert-aws-lambda-binary