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.332.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 028090b7c08b57013288d2b8c6c3db4776555961dcee51ea9e2e7cc189cfb99f |
|
MD5 | ad445f585b10d4f82e31270cefc15da1 |
|
BLAKE2b-256 | 6d275b2a300281192297ab5420abf10581f6448c0303e2626d34b10f3a38dbea |
Close
Hashes for cdk_lambda_layer_wget-1.0.332-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7d3861bbb6a1f8bf7924183d7bb4614102aa591942a85d4768135eb8b768ef5 |
|
MD5 | fff02f5094b4a01725357ddcf2377e3d |
|
BLAKE2b-256 | 75607e22b9da4e3200156872c9ac460d9ea1d216b4b4a4f2a31eeb7a9d35fcf0 |