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.376.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf1f325b74df43a4e802f2f52c711517502fd226a8a880e6e142a1aa7c137a1b |
|
MD5 | 636deabdf5efbdf0022f30e35d5975fc |
|
BLAKE2b-256 | 2ae9892c125aef836878eee1896c40bb496215e52e7e417ee0e5956974db68a1 |
Close
Hashes for cdk_lambda_layer_wget-1.0.376-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef66a6730eeae5de36ba4d5e159237bc7af40038b46be133d90d2478fa455746 |
|
MD5 | bddd5c9ffc1b551b34659e24390e9397 |
|
BLAKE2b-256 | 17f99699dd300ccb5d2b66b8b8fe9d19664a959f004aa8a0d699cadf9974864b |