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.297.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 209d6823bcdf57c7fb37eb4a2a3416d4a3c152cc6855c9c194dd880d06881f23 |
|
MD5 | e9cd95416dad2a2dc58c13d4e4307501 |
|
BLAKE2b-256 | 362c802b17a383bb94284130d4545ec7f32f95eb53fa2435a4ceb1e78ab11f7d |
Close
Hashes for cdk_lambda_layer_wget-2.0.297-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2f0f2c9348618f0b945d7964fc1f58b47da21aa0c49124229d7878c7b60b7c8 |
|
MD5 | c83127ba2d423ff178bfaf9f9b1018c7 |
|
BLAKE2b-256 | 9b9f6b70ad102fe787a3d78cb8f81b9d580f8ee9ddc4f08f72474b24d6b3e02e |