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.355.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 221681705ccca900a23f04992d3395a8b283fd7e747a125c0892bd0cdab2e489 |
|
MD5 | 3d415dbd28d52bb17e379c66e9816a33 |
|
BLAKE2b-256 | 8c05bbc90e94718bb758c2fa723fdf55690c3ebc38a4c84e7de827ac7411cd27 |
Close
Hashes for cdk_lambda_layer_wget-1.0.355-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa3420b7a658488c929f263610991403ea7cb3500b3cab57ecf596a1685cfd7a |
|
MD5 | f246e0a25f7bbb81ec2dd6e03ea4c813 |
|
BLAKE2b-256 | ca662f3a3e0ac83e52c2ff90106ef9237bb59f84064b368dbedf4bd3db49ebd8 |