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.97.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a413a9760c30c6cecdbfec94f976de3c04f96d2d7ab0164137da6993c3961ede |
|
MD5 | 4a4a8582cb05ba6a0be84fb5368d30d8 |
|
BLAKE2b-256 | ba3b783a6e56d5e9a250463b0ee2df3976384e98347334420b130786607a05c6 |
Close
Hashes for cdk_lambda_layer_wget-2.0.97-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f2d0fc0a38cc321cb3e365d62acf04a25b6a401654654e6d36a2b449ffd3487 |
|
MD5 | bccf538f3469877fedaf60879725f235 |
|
BLAKE2b-256 | ed220be0986ad7331911cc903c9d04fc9b74d5a04054a1e8dbdc34ea70c6ab6f |