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.340.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39705015ba5d1a7729a9971f7fb5208e2f0388e0662b2ff16f659713c52a5633 |
|
MD5 | 98c83b9dec3a4d2e68ddaa09f8b754c3 |
|
BLAKE2b-256 | 0a6c16d7fb7e02b43296e42c4bed0254f6386e8b748fcba75daec6fb05746ee7 |
Close
Hashes for cdk_lambda_layer_wget-2.0.340-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74860f18e89e7767fe1f7cfc145ce3e36a8378465c747d3137d26a8702b3f525 |
|
MD5 | f58543c9968da4cc370b407a9f957110 |
|
BLAKE2b-256 | 3fd9e025c9daba1da9050dc9d03a4b562bb1ec29e8aa3e33804b1add9da9cd9e |