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.123.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56eee29d6cd4340023ade3857d845a918201c09c9b59cfb75e7fc6cd076f44c4 |
|
MD5 | 7870d67a37d8742e0cdcf532bf655625 |
|
BLAKE2b-256 | 6ef248369d5a11f0168f00133aeb3caf6b3aea63c673ae6c82698e658b48e4e2 |
Close
Hashes for cdk_lambda_layer_wget-1.0.123-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2de6cc45bfc89119dd978e15f72e5eb46388abf0d050529d73d5c9a5b9401e2 |
|
MD5 | cb7ebd5cc345878a23425c64163f877f |
|
BLAKE2b-256 | 5a60e3d83d9552869887bb273aa9d7c1e2db74fa9ee4243d96ed21e8805c0c6c |