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.278.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9d0dc2f922de5f075f23fb5f7ca653e1a25ec41e322f4ad93ac895ea8de56d4 |
|
MD5 | 349d2c27d117da17131dd301abf35a45 |
|
BLAKE2b-256 | 418add4eb304577bb0c179bfac5cb2b7088fbb7910de76201eb335bc52fc77a0 |
Close
Hashes for cdk_lambda_layer_wget-1.0.278-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a48fdaa37b6919a4db5f41412f9c6364bd2ff08d08f8913fb899ca4684222731 |
|
MD5 | 2b46efc762c264097176f96eb3ba2610 |
|
BLAKE2b-256 | 2e58d7d6007236f5d4c8398a25ab1aa13f2d79cfd3d5fc16acbdafa9287eee28 |