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.274.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e45d5fcee9876d1fd45823267aeec0991e77a632f9d6fc238a959b004e658d0d |
|
MD5 | 7526dfe3b0e149f23d2ca81877d63791 |
|
BLAKE2b-256 | 37f1438d964ccb7b12d26c20a41af9ad7572ac2d73ca819646c12dc93248bb13 |
Close
Hashes for cdk_lambda_layer_wget-1.0.274-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78ff9071f5132212cc7545e560b77d1223a96063c95c76afd16e9d404f738f94 |
|
MD5 | a19b4959a1c34e1cc9c898430c8cf19f |
|
BLAKE2b-256 | 3c07d5337b1634ce24a54a181418b66ad6366fd3f88b87922935ce5a1f7647a5 |