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.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7f1b07c781d90e24c09eeb7c4560746565709ea82cee8c944d4b3681505be60 |
|
MD5 | 0df0a36bbd84ad75e989c32a3e5ce78d |
|
BLAKE2b-256 | 3007099810fa2795e1f0e42a80bfe4f967f26c1799744238d741c9497411e5ec |
Close
Hashes for cdk_lambda_layer_wget-2.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6777c722bed8010039e9509dd72b4f2b6f38361a28d079ebdd8cd2cbc9bca1f8 |
|
MD5 | 84f65ffd5024be14f12e031bf71afbd4 |
|
BLAKE2b-256 | 0fc0cfd636558d72371560e054d10d96191a7958d9b4c2b180734ad824685818 |