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.297.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f534cc34a63edf6515eabf7de1ed83eb47422ea3edd58ee95efa8c9a3ecfef99 |
|
MD5 | 099756790f3ca10ea717fa2973c9f537 |
|
BLAKE2b-256 | 1c3741d9f6cd9d4dd9b5d0274040803b2f409b2cd8c7e54e6e07ac2d298c6a91 |
Close
Hashes for cdk_lambda_layer_wget-1.0.297-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf4e1de1967c12d056c675c40273ccfa293ae853442971f863481e649901c0b6 |
|
MD5 | 8555f528d86f4e786c0f1099deb26f61 |
|
BLAKE2b-256 | 8b92431722ccf24eb809d11350b2d499bbe2f4e929bb805da97e25fd73bc57f2 |