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.321.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0313aa1737e03d65238bea0498fc6927efd510556b8166e12cdb2c6b6f61e0f |
|
MD5 | 2fa04d3d7fee2336a54d9eec5a967068 |
|
BLAKE2b-256 | b39f0e795a6fc5f1c350a504b03ba7f2d867eafc9c7b158c2808c0b1c58bce72 |
Close
Hashes for cdk_lambda_layer_wget-2.0.321-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecdf76d07a23730c57d9687c6da63efa8e18b221139f8bda4078f79a44291cd8 |
|
MD5 | ab95c9e00da947a1419a519ced58f2e8 |
|
BLAKE2b-256 | 7af764132ae69b189d78ae74256cf5d5b12229a84c3d90457313b895b4d66cc5 |