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.70.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c09e5f86b42460edd87a9ab0e6730e5377f923bde758503d1e865f080ed039a |
|
MD5 | 97496d73dcbb21a775ad85e5e7fa14ee |
|
BLAKE2b-256 | ba0b64508034cedb29574fc5b7bfafe02d53b1a06010ff8fa5e623c68d59de04 |
Close
Hashes for cdk_lambda_layer_wget-1.0.70-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9d482a6cde259353713e4239578ac74397213cf43644a3db299a0b4542f1549 |
|
MD5 | a3a99e806e87085132b0b11516b11b86 |
|
BLAKE2b-256 | 16be94c92a363e742db676590beac82373fcac72eb9b050242282a95f084f153 |