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.234.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92ccca906f95eb54904b943e32e7a8bfcaf39246be01d45737c2ffbb74b06f13 |
|
MD5 | 33d26be4c039b09ca90b2c0501da2e1c |
|
BLAKE2b-256 | 54a2f6313521d526524245d0721120556adf2b0bea3eb90afc31a5ba7e2d23a9 |
Close
Hashes for cdk_lambda_layer_wget-2.0.234-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 239bf0970d81bec12fd3d9d9737c7383b053499c8af8745970039350ddecc694 |
|
MD5 | 05434206a99b7734c447b01d17e60f45 |
|
BLAKE2b-256 | 968dbbf9efa2767d168ea6f3f7715b610dc1f3e3d3bd9eadfa9bf557c4b7f083 |