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.70.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e06d8286e3127e41c48a3275f8d74b5ccbd78fd5be1f6cea8d3bd17da86852d |
|
MD5 | 77d472d7f4011604a795cb6732c4ae1b |
|
BLAKE2b-256 | a0a863c00a2edfa12a3fdbcb83bceb5995698e500cb09a09c50377567809d03b |
Close
Hashes for cdk_lambda_layer_wget-2.0.70-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a76b22742c4b8cf41d1fefc15b028483a1572427070c77c6e3580b81bf30676 |
|
MD5 | 102b5f7d46942809fdfcd74a951a819d |
|
BLAKE2b-256 | 4df2697f6bcb3518f5aa74d3d02d3efd3118c24bdb7f3cb0729fc2bdd3eab54c |