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.207.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bea4096f7cf608cca434fe58288edafda24e66f83dea528777a943310565c45 |
|
MD5 | 999d8b373806b8f7a0e1ce5d45c9fde6 |
|
BLAKE2b-256 | 7780e1e43c2bd5133dce48d249a40147205ffd5d2384949e2ea9c4e44d81571c |
Close
Hashes for cdk_lambda_layer_wget-2.0.207-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4718ecfac40142c74acf7a498c150afc86783a23f339ff5e0a7791abeebc4137 |
|
MD5 | 95702e22a8f261cb2601c038112cdc8f |
|
BLAKE2b-256 | 7c84a62d1683aa03dc67ce1070966c74fe4c8af872cd0b31c484377b211bda54 |