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.251.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a97be68c9d06f4052db703c8b6d54d7f96e8e1b718adf64802fee54b7e40127 |
|
MD5 | d182e89b0700e5cb87b76ea3bad24fcc |
|
BLAKE2b-256 | 0f47baef4414a710fbcfe0b907531f341ca76067381dcbf77d193875a5b578e0 |
Close
Hashes for cdk_lambda_layer_wget-2.0.251-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 720062021501401a25b099c577ec2b917c8a46d90da002e4041ff078c5eb3569 |
|
MD5 | 6f7d673387bce3d15ef547cacb80b9a3 |
|
BLAKE2b-256 | 762ea399525b2fbe10cbca70363659ea3762e67e085af214d4cee36a55a7e935 |