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.256.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 233f63c0abf1d7846f2416f5aace16d8c0c6fd8ba672b318699445c520982339 |
|
MD5 | 03b8a568be4b4ebae3272ff04d3e3d41 |
|
BLAKE2b-256 | 8a195714a61ab4bfa6fb3f9b019fa24057ef21f1df74ffe67b84543256a77a1d |
Close
Hashes for cdk_lambda_layer_wget-2.0.256-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a8690540af3dbc40366087b6aeb659904d6097bfa8fd1d6c7e150cd7da83aa6 |
|
MD5 | e5f7024875a8e8c8de9afbc8a4825e20 |
|
BLAKE2b-256 | 6201225e426f1bd7ba47a2c57b2bccef58c035f6f27f5ad71d77f42183267857 |