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.358.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5b3fcd78aff28b594a80264ae5ee6c6f64b859fa973fd6bdea771cb893fada4 |
|
MD5 | 537e4b92335b641f67b56ed1780b8ec1 |
|
BLAKE2b-256 | 4371854572df864ac8aede6ae05ceabede8bc1719905c8bcc9ee1159a6a6b9ac |
Close
Hashes for cdk_lambda_layer_wget-1.0.358-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ac3f3ba0ed416d3474c9ea6957b894690a09d8553d99097a1360e464cfb8a11 |
|
MD5 | 1d958a56c46d79db19c2999108e6f912 |
|
BLAKE2b-256 | a17b8d0ce8ffe616fd4e46e1988d5215b36536744b9f40a9c6c78c6cedad1231 |