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.41.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb3e51b9ef4aaa946675e45c87696c720c91372916fb88a7e6a607332f0b74d8 |
|
MD5 | 4cd783e9ca10186d088f614f6e38491f |
|
BLAKE2b-256 | e2177b2a57942345c65fb03e2c493be7cd058340e9e153aff73c3cf7fe65b2a9 |
Close
Hashes for cdk_lambda_layer_wget-2.0.41-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1adcf310250832874a181d425a49f03878ec7a1a469a05bc2f0157eec1d6cc05 |
|
MD5 | 631dc38c98dbf1dd592ef2397a11ea0a |
|
BLAKE2b-256 | 0a07670c3b2c773e82f134527415513b0fbbfd91f41b09212050ffc2b3f2d56b |