forked from thecfguy/imagemagick-aws-lambda-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.yaml
44 lines (40 loc) · 1.46 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
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.
Check out https://github.com/serverlesspub/imagemagick-aws-lambda-2
for more information.
Resources:
ImageMagickLayer:
Type: AWS::Serverless::LayerVersion
Properties:
LayerName: image-magick
Description: Static build of ImageMagick for AWS Linux 2,
ContentUri: build/layer.zip
CompatibleRuntimes:
- nodejs10.x
- nodejs12.x
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-lambda-layer
Description: >
Static build of ImageMagick for Amazon Linux 2,
packaged as a Lambda layer. Bundles ImageMagick 7.0.8-45.
Including convert, mogrify and identify tools
and support for jpeg, gif, png, tiff and webm formats.
Author: Gojko Adzic
SpdxLicenseId: ImageMagick
LicenseUrl: LICENSE.txt
ReadmeUrl: README-SAR.md
Labels: ['layer', 'image', 'lambda', 'imagemagick']
HomePageUrl: https://github.com/serverlesspub/imagemagick-aws-lambda-2
SemanticVersion: 1.0.0
SourceCodeUrl: https://github.com/serverlesspub/imagemagick-aws-lambda-2