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.383.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59dfcc46e5de96d46eacd1d7f1f268e3d6b67641b28ad994e3ec8a9ff57b98b4 |
|
MD5 | 2d0f2a6cc426a5e3c002c7bf28bfe1cf |
|
BLAKE2b-256 | 58f00e35983c1afef81e56b6a18405cf1f81abb5d8920f2b788db5e7f199c7a2 |
Close
Hashes for cdk_lambda_layer_wget-2.0.383-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59a7d576e9e19f7893981d3e082a89a3a30d91a7dd499525c530c4132a8ab9b6 |
|
MD5 | 996113adc0420367cf16065cf0a65340 |
|
BLAKE2b-256 | 902bb624ef03306ee01ab28599f6fb6389716d9f445f8aa897d86414fc720e96 |