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.98.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29edf5e05ce1217be4955005a5562afe793fc67435e1c1ff55a5804a22a6826e |
|
MD5 | cc0806d95c73588263198b300fdc9efc |
|
BLAKE2b-256 | 58b56ef538e512bcab14240936ff6c0feab92ef80e3714bfd8aa760b4d42bc4c |
Close
Hashes for cdk_lambda_layer_wget-1.0.98-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5b49cb82ac2e722b83c094e6e02a05f93c2c3b9a7cdba282ca0fdccbe50f61c |
|
MD5 | a1c47bfefec33d29998b52b10483641c |
|
BLAKE2b-256 | edc8ae14454c0814a9f7a7a89bd74aa7c57c0393469812ccc4acd4b5c2772c1c |