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.402.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b12caa40e6d80fdb447aaf191c44e8135bdd6bce1d7490c648be1b67c16d9fdc |
|
MD5 | 9c9d2c1ba6ad75d8dcfd1d6970d1b22a |
|
BLAKE2b-256 | adf4e3dd8014aa247c80c26058b4a70f0965e96c7085b64f7ab81969ca18a4a6 |
Close
Hashes for cdk_lambda_layer_wget-2.0.402-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca6edf8e726b76ee2f024df5e7eab686aac4abae403cdcb4729a5b29a78dc701 |
|
MD5 | ea3b9349014ac5dc3560255bdbb36c1d |
|
BLAKE2b-256 | baea2a4986905811727b69b5b9b2c86073c80f5ed9659361f24c501bd5dea806 |