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.408.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 438091260b20001430870f606008cabc9fdb91d6954f76c159d3f9f83eb2ebe4 |
|
MD5 | be5f757dd9f4d67f5a42f6b13f4600e7 |
|
BLAKE2b-256 | 08ac95cbdecc07aad584c7efe1b03b57917b2f7965b1f83e33454cdcdbce0375 |
Close
Hashes for cdk_lambda_layer_wget-1.0.408-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b02629d6b56f006c0b1fcdff3f7269751e83d611a1d29afdbe5f57f9d49b106 |
|
MD5 | e62d137de8fcac742156bc0c7f612ed2 |
|
BLAKE2b-256 | 0d1c69885f79d97b8a195848630bee549b937d4a716a6d9dcfc9835bbdf48f3d |