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.233.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf2b8a3543f36a57ebd868beda82bb420c003d1020c751f7dbac9657f6e551fe |
|
MD5 | aa2d50064d319582969afaef36169198 |
|
BLAKE2b-256 | 1848c7988546a4d340d17b491c8d7ea6887ef1048189f0d321b81aae0656934b |
Close
Hashes for cdk_lambda_layer_wget-2.0.233-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f9c3bab221daf13170ef60fa740946522ea54551678cef7a210be7d03d15625 |
|
MD5 | b4af8bddd690b0b150e2f64d6c5da1bf |
|
BLAKE2b-256 | 2ab7dc32c281f827fe5ed851e535ff3e2376f2c120ebd21c4f3eb4ae5d2460d6 |