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.80.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc45043d4a5c6a40b9e1641fc6d481b7e2bde3c512d3f9b2ef96d56db8917c3f |
|
MD5 | 7207ea153f8c2335764123e864efa9eb |
|
BLAKE2b-256 | 462ccb9a4fe5484546fcf6d8bbddf53b303806a441c8fce5b92f39dace02078e |
Close
Hashes for cdk_lambda_layer_wget-2.0.80-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49782f73d5be285d2a73981ea39ac5f0d1d596ce435cc999585ec2ea1f5cfa5e |
|
MD5 | f98aa95d441d244e16d0a8dcf51fbdd1 |
|
BLAKE2b-256 | b154929bbdf6f3a43f04965f739bdf3582f93699b4a85888c0e09a9e7d1a0fd9 |