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.389.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39c07c16949f2d01724ac25fd911074b3756a9312b748939caa4630b478ef89c |
|
MD5 | 9a4071fcb4975777073c66a1566c5b33 |
|
BLAKE2b-256 | 91c55a49e51c855c91594c96ac3d7c07c078f42c690d56c843cc9267e44cb0c0 |
Close
Hashes for cdk_lambda_layer_wget-1.0.389-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ead6acadda051d9a34f470be3cd96716a64ea68d68d76207ed00dbe4b4f2302c |
|
MD5 | 1ddb86042e197302a4605ad88e2c2d9b |
|
BLAKE2b-256 | 6727204b32858372a8244b6b72ceda4735d7751c5bc908944a86c740ba861c3f |