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.178.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9563f08f87ad1f595719f1dcb073c9bfce1f5cea46e25753cdf6b6810c40770d |
|
MD5 | 8a818f090101a4b1461f9d3baf02dfef |
|
BLAKE2b-256 | 10f8da5ad683f55c314552836f23f72f79fcbfd23faf17cf95e6d1413fd51bd7 |
Close
Hashes for cdk_lambda_layer_wget-2.0.178-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32f03eedf0a120dbbfcf12892f4c1f4c1a8112a5516fab6861292a98ac34b933 |
|
MD5 | c2be27b901e7317afa827b6c80210148 |
|
BLAKE2b-256 | 2aada955eda44caf28f3c2fa93470e636f5355e1b04b1b2553dab43a7896dcfd |