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.237.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0ca2e75f500f0da04c1399e234acb681c419c190611209aa4e1f0d62c070be9 |
|
MD5 | 8d03d2069b0d948e595ded2a6bd536e8 |
|
BLAKE2b-256 | 47e4bbeaee0d468e2c169da376e5323adea0aa45405c8cf506ab3f5504124fa5 |
Close
Hashes for cdk_lambda_layer_wget-2.0.237-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 811198115a38574c54488da6b468962edf084afc5fe50e55b7a0ca3bbdcb9212 |
|
MD5 | 2c997671c909fb9c772f230356bdee2a |
|
BLAKE2b-256 | 5790438475cce31fef79038675221fe72222fb3dba96f3992384087444329008 |