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.369.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6161a3c20782a0df7483ded79ee2ad7e0782bce8d4001b54bc9935f19021cc7 |
|
MD5 | 6248d57bc6389d2a26c1e014ef1b3367 |
|
BLAKE2b-256 | d215c440feb8fbf7f6a2e2cb841e85e70eab666a5f6a82c258365a0fdf390d3b |
Close
Hashes for cdk_lambda_layer_wget-1.0.369-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c000c6ddd0d85f5cc004ffc052e5676b57c53493c1a05f396029b832f643205 |
|
MD5 | 609b078921cdfdaa967c2fe1c97682e5 |
|
BLAKE2b-256 | 1767a6acb6d08cf1c18423d9fb008f4a6c7bc1dea7bec562a2c90f2ac7342862 |