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.417.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b40b9d1536c20ca2886a925f0457ab5bdfb36e1f77b437ae9c17beead2863265 |
|
MD5 | e268f9a313d8018830f6b94b441cff12 |
|
BLAKE2b-256 | bbaeb35846a08da4cba17dabae7202b2d08570e7951ba2291eba0f54d0e9dcae |
Close
Hashes for cdk_lambda_layer_wget-2.0.417-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4a3fe64bf13e0da4e0d47317c124b858fe44084c1a8601908fa3df5e5c13b58 |
|
MD5 | 5098bdbb6e8687d2472d436f285d7f46 |
|
BLAKE2b-256 | 05c2bd81768173a6d0559cfa8a2582ae79332e2d0c1087e2bba7996d52fcda5e |