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.388.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdb9a429db55ab7a9ab73c9fadcd539fd4a343a63e03bd1f962ebf6dd0db3710 |
|
MD5 | 83d309cd1577aed2d0ecb92504ee5b80 |
|
BLAKE2b-256 | 9fe0920238db94c20c69957f6daa4048d3925a039da57836732ab7832ae609fe |
Close
Hashes for cdk_lambda_layer_wget-1.0.388-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dac0e13b9dbe74491314850bbc032f5ee07ff288e9988b5853939f916a135295 |
|
MD5 | 648b19cd223a616d4f2ddab1166dde1d |
|
BLAKE2b-256 | 9a4a789856e18483a847af2bb563a0c5c7a052a9a07ce01cde3078350a406d02 |