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.271.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | acdb8508d63dd091203bca3b26ec183c70727bec26c3ece82d01080ac51726f1 |
|
MD5 | ad06b699f3ecb0378c4653ddbc1ab98f |
|
BLAKE2b-256 | 01e1dd16b2246411d14f4fefa3c5c27fce45461db7271c2a01d9bdb913b65810 |
Close
Hashes for cdk_lambda_layer_wget-2.0.271-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be1c4a7bbc513f6ac4ce5a03339b2b047794820f6bdab763f9f1f57390ca071f |
|
MD5 | 95ffeef7ac0287663f823c8d5a05894e |
|
BLAKE2b-256 | 344a68de7035f7f17f8fd4537d97b047c4e1028c932731fb892f05fbf38876dc |