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.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cdd5faa908febf34cd02bd96609d3ab0a6a9df15b34f68fa7c381039460565e |
|
MD5 | 1649140ddfa8563531b72ef42928deb4 |
|
BLAKE2b-256 | 9df79608e3bd538d78a0c5e779a57c4861e7f5c29ef2d43a0696f49173b8f3da |
Close
Hashes for cdk_lambda_layer_wget-2.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23b761d502087d10d84e1830da52388e8a5998fa8de9e75c4f167f28796afa8a |
|
MD5 | de154d153a02832b347f7702762fc385 |
|
BLAKE2b-256 | 6d1e34578193661d3f2b31c7ed09a019c05e8a965243fd6c2adc3462ddc49ce1 |