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-2.0.203.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66533db963dfd1888fd81dbe6cde16bc4e5447f0619a919297626f20f88f4c1b |
|
MD5 | 41627a276b9170bd318dc3b6ef40c37f |
|
BLAKE2b-256 | 5cce83927e077b2bca8afb3cbafe74784c6c1d729b4248216df967b59eb6a831 |
Close
Hashes for cdk_lambda_layer_wget-2.0.203-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a440c18e4916aef5ee4cb0156cfd6f80c3c266580242bc576386b1bafea9c169 |
|
MD5 | 5226c323965b407c4a3e4a44b522c275 |
|
BLAKE2b-256 | ffd28d04b4842cbd9fe15e8a77c18f39b9c142b660c5ce8677ea6e11cbf7df72 |