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.309.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 823de4214d7201d8cb2752bff0f1d6672cc7a6d332da40479d02b5f915c73261 |
|
MD5 | ece0f52480420cc9575ebba0f9566522 |
|
BLAKE2b-256 | 08c3b377b35bf0d6a85ad581ac794a8a2767eefca6a83a7adda38846267cebd3 |
Close
Hashes for cdk_lambda_layer_wget-1.0.309-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a24d097309a8937dd578558aced63cffe3d1a23e69f48bdacabbb939d367aee |
|
MD5 | ef7f16aae00787e12ec3c6b0c1ad4175 |
|
BLAKE2b-256 | fc9119b9d77c65dea4d392c3e7d6ed700f6964b2a688cb544ee2414740d62e93 |