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-1.0.271.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a588d3945ad43156996a01144f201b9033aa7fe4eada30b060a1b0471fc67eeb |
|
MD5 | 331922815ab1204c952c0e0fcc228b5e |
|
BLAKE2b-256 | a8efb3627824cb7acf90fca0db0d30e59d211f71468e325c877135b94cac673b |
Close
Hashes for cdk_lambda_layer_wget-1.0.271-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96c6e259b5671e29ec7e8554bed4deb7aa006579c770c98052cb79ff612425fa |
|
MD5 | 0a147ce326a6cebafffa14e2064279a6 |
|
BLAKE2b-256 | 01c3150ce6786549c9771ab87287040e3959ee9b1721345af23e75a787399149 |