forked from serverlesspub/imagemagick-aws-lambda-2
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtemplate.yaml
50 lines (46 loc) · 1.72 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
39
40
41
42
43
44
45
46
47
48
49
50
AWSTemplateFormatVersion: 2010-09-09
Transform: AWS::Serverless-2016-10-31
Description: >
Static build of ImageMagick for Amazon Linux 2,
including convert, mogrify and identify tools
and support for jpeg, gif, png, tiff and webm formats
and freetype font engine.
Note this is a fork of the original ImageMagick layer,
adding freetype support.
Check out https://github.com/serverless/imagemagick-aws-lambda-2
for more information.
Resources:
ImageMagickLayer:
Type: AWS::Serverless::LayerVersion
Properties:
LayerName: image-magick-freetype
Description: Static build of ImageMagick for AWS Linux 2 with freetype support,
ContentUri: build/layer.zip
CompatibleRuntimes:
- nodejs10.x
- nodejs12.x
- python3.8
LicenseInfo: https://imagemagick.org/script/license.php
RetentionPolicy: Retain
Outputs:
LayerVersion:
Description: Layer ARN Reference
Value: !Ref ImageMagickLayer
Metadata:
AWS::ServerlessRepo::Application:
Name: image-magick-freetype-lambda-layer
Description: >
Fork of the original Static build of ImageMagick for Amazon Linux 2,
adding Freetype engine support. packaged as a Lambda layer.
Bundles ImageMagick 7.0.10-16.
Including convert, mogrify and identify tools
and support for jpeg, gif, png, tiff and webm formats
and freetype font engine.
Author: Sergio Matone
SpdxLicenseId: ImageMagickFreetype
LicenseUrl: LICENSE.txt
ReadmeUrl: README-SAR.md
Labels: ['layer', 'image', 'lambda', 'imagemagick', 'freetype']
HomePageUrl: https://github.com/sw360cab/imagemagick-aws-lambda-2
SemanticVersion: 1.0.0
SourceCodeUrl: https://github.com/sw360cab/imagemagick-aws-lambda-2