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.53.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 295eb554f51890ae13b419011eaa58413ed400edfd62c2543ec0cabc82078b1f |
|
MD5 | a0519fc0e840b0577c250843482feec4 |
|
BLAKE2b-256 | 3558997717e215c036bd834e851f599563b2a699b02288fa3618cd8e84745cde |
Close
Hashes for cdk_lambda_layer_wget-2.0.53-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07cc07c46d89695215f72c5b792cfbdc34aa074a89aa99da8bfd1f17884c7586 |
|
MD5 | fc17de55a00e512b67fca5775770c38c |
|
BLAKE2b-256 | 87d08c0541f532135b6276d03e96b760a14027624829cd8d0e025d5795141a0e |