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.39.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a62b140c8e51713ef8abd31eae0249924afc497b740be06ed91322bc0f2163e |
|
MD5 | 81e0d8b7e5aab9a55b9fcb195799ff62 |
|
BLAKE2b-256 | ff80881ff6c204905fc2de39acedfff55c596e15a807a80837ec30e98721da7a |
Close
Hashes for cdk_lambda_layer_wget-2.0.39-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a64be50cbaa0049c95daaf7f87f0979cc23563bcf89348a66f702c962f2f95d |
|
MD5 | 8085b9907d9f4e921a09f49be5a02abf |
|
BLAKE2b-256 | 778b178ffdf67d813dfc57475771502eb389fb16af27fb9e3544a80b56425856 |