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.261.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9cf1e0d76eb2d010479a448f595c880986c3d025d9e43987087696dd27c55b2 |
|
MD5 | 32acb52effef2f6da65939693ba91b66 |
|
BLAKE2b-256 | db94ab2ac72e1fdf71ad37a9cde57185927e3fbccf5958da19df302e4a3e9b95 |
Close
Hashes for cdk_lambda_layer_wget-1.0.261-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6553f965bc0052d11a6776796ce814008f276e4f5f241c65d28bf7d35effaf7 |
|
MD5 | fc48092cfcb37053a5ed65087ec8b7c4 |
|
BLAKE2b-256 | 86e855751b39bf7476fe4995286d606f36820e5e6039708bfa40b5d4edb0b009 |