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.63.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e044bb3dffcc698b9d6936d1a804c6a8d715cc9b705d6d245719f087bcfc3c3 |
|
MD5 | 00c3d8346c1fb0b17f8d236f5c436b9d |
|
BLAKE2b-256 | b7e66cbc5129b4e3d112cb153e7816b027b4f924b8d5ac9f54e5511d6bc67c85 |
Close
Hashes for cdk_lambda_layer_wget-2.0.63-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5007b6e62664c046ae31a9bc558eb2cdc41060e0a32170f559c38168854b2fe |
|
MD5 | 1d8bcacfdaf0dd8d5c4f6a1eaf124acb |
|
BLAKE2b-256 | 5934cd52e427ca47dfe994000ef2a70da43322b662d604ef08f99b0e36fca5a3 |