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.353.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d9ca972650b3708406b53bb55cc9de73d759cf0ef07de7cc0c66830e419b011 |
|
MD5 | 6569221411d9dfcd927512ff226851bd |
|
BLAKE2b-256 | 63f9ec0a648906f8d68c28ba62bdbbadf4738fd1c0448d0a4ac95d946599739e |
Close
Hashes for cdk_lambda_layer_wget-2.0.353-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8418c27c63882b0522bdab4ad382d90cfc4111680d18880ed8be4fdede4ed13 |
|
MD5 | b340a8a2fb359775976f98ae21499a8e |
|
BLAKE2b-256 | 5b3c23b03895f2c399422790c8e2fa3ee629fecca563b4518a827c7edc72662a |