Giter Site home page Giter Site logo

bmschwa / wkhtmltopdf-aws-lambda-layer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brandonlim-hs/wkhtmltopdf-aws-lambda-layer

0.0 0.0 0.0 67 KB

AWS Lambda Layer for wkhtmltopdf

License: MIT License

Shell 66.99% Dockerfile 13.03% JavaScript 3.79% Java 13.32% Python 2.86%

wkhtmltopdf-aws-lambda-layer's Introduction

wkhtmltopdf as AWS Lambda Layer

wkhtmltopdf with dependencies published as AWS Lambda Layer.

Operating Systems

This layer supports both Amazon Linux and Amazon Linux 2.

Getting Started

Add this layer to Lambda function by providing the layer version ARN.

Version ARNs

Region ARN
ap-east-1 arn:aws:lambda:ap-east-1:347599033421:layer:wkhtmltopdf-0_12_6:1
ap-northeast-1 arn:aws:lambda:ap-northeast-1:347599033421:layer:wkhtmltopdf-0_12_6:1
ap-northeast-2 arn:aws:lambda:ap-northeast-2:347599033421:layer:wkhtmltopdf-0_12_6:1
ap-south-1 arn:aws:lambda:ap-south-1:347599033421:layer:wkhtmltopdf-0_12_6:1
ap-southeast-1 arn:aws:lambda:ap-southeast-1:347599033421:layer:wkhtmltopdf-0_12_6:1
ap-southeast-2 arn:aws:lambda:ap-southeast-2:347599033421:layer:wkhtmltopdf-0_12_6:1
ca-central-1 arn:aws:lambda:ca-central-1:347599033421:layer:wkhtmltopdf-0_12_6:1
eu-central-1 arn:aws:lambda:eu-central-1:347599033421:layer:wkhtmltopdf-0_12_6:1
eu-north-1 arn:aws:lambda:eu-north-1:347599033421:layer:wkhtmltopdf-0_12_6:1
eu-west-1 arn:aws:lambda:eu-west-1:347599033421:layer:wkhtmltopdf-0_12_6:1
eu-west-2 arn:aws:lambda:eu-west-2:347599033421:layer:wkhtmltopdf-0_12_6:1
eu-west-3 arn:aws:lambda:eu-west-3:347599033421:layer:wkhtmltopdf-0_12_6:1
sa-east-1 arn:aws:lambda:sa-east-1:347599033421:layer:wkhtmltopdf-0_12_6:1
us-east-1 arn:aws:lambda:us-east-1:347599033421:layer:wkhtmltopdf-0_12_6:1
us-east-2 arn:aws:lambda:us-east-2:347599033421:layer:wkhtmltopdf-0_12_6:1
us-west-1 arn:aws:lambda:us-west-1:347599033421:layer:wkhtmltopdf-0_12_6:1
us-west-2 arn:aws:lambda:us-west-2:347599033421:layer:wkhtmltopdf-0_12_6:1

See /arns directory for other wkhtmltopdf versions.

Usage

wkhtmltopdf binary will be extracted to the /opt/bin.

wkhtmltopdf can be executed directly as a command line binary, or via a wrapper.

Refer to /tests directory for example usage.

Build, Test, Publish

Refer to the following scripts to build and publish your own wkhtmltopdf layer.

  1. Run ./build.sh to build a new layer zip.
  2. Run ./test.sh to test the layer zip.
  3. Run ./publish.sh to publish the layer zip to regions specified in /config/regions.txt.

Fonts

See fonts-aws-lambda-layer to use fonts on AWS Lambda.

wkhtmltopdf-aws-lambda-layer's People

Contributors

brandonlim-hs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.