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-1.0.321.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2282b4bfe1b57870450af5c364b78ae6564cf3822ca6330048af89c0752f3cf |
|
MD5 | 694a387d1c2fcaad6bef0f890c3e78c7 |
|
BLAKE2b-256 | 9ab119e35ce8a2ee62d715049def26a0141399d5f7fbfc7f71a34d47bdd4d4e5 |
Close
Hashes for cdk_lambda_layer_wget-1.0.321-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29b044e24dbe5f6d581bfcf757ce8b7c085fbee98cd1be416bcb9dc1890da24f |
|
MD5 | c0ed598b210aaf42ec68eeebfb96726e |
|
BLAKE2b-256 | 782d16a14446007a658f70602d0b5266616593615a5f03c4d5e2aaa217e404d2 |