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.44.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93ea520a1d97596dedefba6534b7f5fa336982b8f0109c9cdccc6baa6e733a4b |
|
MD5 | c521946d6417d3af87916e32b230bedb |
|
BLAKE2b-256 | cef8088805e2c2ce55e62d53adc3c9e8727fcfe2782665aeaa39aee5e6c0e7fb |
Close
Hashes for cdk_lambda_layer_wget-2.0.44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23024ca8c923141956f2a5c58c6b1296be142e4587655be6cfb552b4cf3317c0 |
|
MD5 | 7cdadc66409fd36364d526bb1053b9a2 |
|
BLAKE2b-256 | d7caa94ca83e2c9391c744dda1a757f31384ca1a63df3d7bd785354a9e5da2bb |