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.447.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f8d89754e99d338b1996cb6f25daa944437fbd7e5d98af7d348d0ee0963a366 |
|
MD5 | 03a50ccf22634c5c8ee243113202732b |
|
BLAKE2b-256 | b9d70b857ba423b18d90185c88b72f791fb72e245f70cfa46c4007cc3d613bbb |
Close
Hashes for cdk_lambda_layer_wget-1.0.447-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 473e6fc932298836248b1fe97944ffb873c4a1981da5868050f71fa22f3a5bb0 |
|
MD5 | b188cfa4e4c371f5c689bba9791eb70d |
|
BLAKE2b-256 | 29cac2cc65f8fcdc721e471c0a5244f333d1b02b451c108112711f3da82735c7 |