Lambda Layer for wget
Project description
AWS Lambda Layer with wget
Usage:
// WgetLayer bundles the wget in a lambda layer
import { WgetLayer } from 'cdk-lambda-layer-wget';
declare const fn: lambda.Function;
fn.addLayers(new WgetLayer(this, 'WgetLayer'));
import { WgetLayer } from 'cdk-lambda-layer-wget'
import * as lambda from 'aws-cdk-lib/aws-lambda'
new lambda.Function(this, 'MyLambda', {
code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
handler: 'index.main',
runtime: lambda.Runtime.PYTHON_3_9,
layers: [new WgetLayer(this, 'WgetLayer')]
});
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk-lambda-layer-wget-1.0.288.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a42448bdeba3f22c16fc1d20af3a3fb5409d27caf4ad28f6f1e06bc2c1de50 |
|
MD5 | 3cc84fbf38374e8bf81cc485c13d7a2c |
|
BLAKE2b-256 | 76d5c57ae6799e5c442bdf75b7288a447fc24e5d2d8225d95218c6adedcda0bb |
Close
Hashes for cdk_lambda_layer_wget-1.0.288-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c111c60eb711ca500e66067df2e917bd59dfc2a37635efb88656d655a1cd085 |
|
MD5 | b205cfaf71a35280a082f50f636b6d95 |
|
BLAKE2b-256 | 045917d3db879c8e7516721bdd5c2f8df4e9d4ee2299e351004d0e6514c00a54 |