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.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecab2e93021d624c4977103ed31a373786ef3c2ee934d9b62a9e7a2274cdcc44 |
|
MD5 | 4fc72ace71c34fa2c4475876945f7d65 |
|
BLAKE2b-256 | 30b57d401151c16946e34623486d4dc90c9d5801c207162d1d06411ad6682c30 |
Close
Hashes for cdk_lambda_layer_wget-2.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeb4fe9b247f2056540a9a1576cb206fc616166570824bfd9fac346c7caa38ad |
|
MD5 | bbb21bdd5215d6f66dfecb73cbf88c91 |
|
BLAKE2b-256 | cc658f3275e8920566c54e7de9ced056f1c1cc8b32be712965bbcfacae158ec8 |