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.126.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bef5b39441da3aa05d42417b583d91bd7ccfe768091308efdb60121b9448efdb |
|
MD5 | 6f303aa66181af5d98ca7a51d796442a |
|
BLAKE2b-256 | 567a2a3b504f8f512af57404a7d52efb9c7e7745d4940f636d568ffa599795c6 |
Close
Hashes for cdk_lambda_layer_wget-1.0.126-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 740e70031c57344d03544f9b6d3428af9f4315015b088e18539ee69b856c0329 |
|
MD5 | 36fc3e8c05908075b5d83229dd1bb516 |
|
BLAKE2b-256 | beeced88ec54b899a99e9a29f7c5954fc7170f0108364f27768ce6bfbb510717 |