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.406.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab6bf6b8856d29c10e1f313baa0a00433ad228c92003cdc1a9579d23a663833c |
|
MD5 | d9ee48f8edab414ed969c687da1c93e2 |
|
BLAKE2b-256 | a4eaece59989740a0066daa4655ae41fc975c4b95a5f850c1d521c80b40aafa9 |
Close
Hashes for cdk_lambda_layer_wget-2.0.406-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b82cc1a64c6d9bbcde1ca0c82ff977645c9f054a68e50953d3f6d431ff523bfa |
|
MD5 | dc0b81f9b5731ff99a285af7e1cb24df |
|
BLAKE2b-256 | eb4d57ffc9865438215cb16190186d633685fd210bcf002227d80f3b2be20b8e |