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.248.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de321f53681e1b1269dcc6e1b8cf597d3cc55bd6e00027a73f9f7471425feb59 |
|
MD5 | 7a641301b0df5185fa41f955d563091b |
|
BLAKE2b-256 | 578dda022067992a7d2839480756b3ba79bcf0a52611a1bca418b0f979676650 |
Close
Hashes for cdk_lambda_layer_wget-1.0.248-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07b83fa5f9513fdc2a52e3c62f2503ced72d7459a9c65a8c05994c4386b6999f |
|
MD5 | 2a7ba48c93c829428842c3139b9eebcb |
|
BLAKE2b-256 | a9f9aada0d9b3ea6deefecc168da5a1bfb88c8773af37d3992dc905d4590f38a |