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.342.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40834e6b6940d78c185f5e884270c3460263e9b778eea8d3ff3e13aee04376de |
|
MD5 | fc03709596e1111439fa7642621a2f3b |
|
BLAKE2b-256 | c6e403ddadfa7623d722b94ef64d588b04dbaf66643074e528999e0a57176749 |
Close
Hashes for cdk_lambda_layer_wget-1.0.342-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdab19a2ea2c7daafa8ad480a480c7bc8f66e256a37fc6f0986f68359cc78020 |
|
MD5 | 04af8e431009ca16897c98ad7485b32a |
|
BLAKE2b-256 | a6e54febe275456403c4acc1ee5e00109606682a3d0165b0c4175dcdddb19215 |