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.419.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94d3a210fdb6f896e6e25bd48680c839c6fc5238c17e70330f3c38df6035e3c3 |
|
MD5 | 0d03ed071b5500e53f929103cb552a08 |
|
BLAKE2b-256 | 097b1d3775e07a73bfa9586afa471571c2d4200ca874ff9abf31abf2fbb64b4d |
Close
Hashes for cdk_lambda_layer_wget-1.0.419-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05367763a821890fe583fa588d222d1bcdc689ab37297da57ce3dc711ea70fa6 |
|
MD5 | 1c2b6f3877a926d1489ff830927fc2a8 |
|
BLAKE2b-256 | 4b3bc928144f26ddc1c366049a7e378d54587ba810afc8e63bd4be0fcc9d4060 |