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.377.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5eb8156e14260e0b9666e4d17a83913d79da0aaa3b1b5a74e3c85009e8228d5 |
|
MD5 | be05b0f8b97392075ddffd0c99bc0904 |
|
BLAKE2b-256 | c47b25848f0dd28cf2f6954b6139848edee05c2c5f1db9af21b98e98a79d18e5 |
Close
Hashes for cdk_lambda_layer_wget-2.0.377-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc59c54933a1a120f4e45775649f2779d949d526a68d7f2c22a4ec117beeea2e |
|
MD5 | d8e32e6f59168ae89c54c37f768c2d0e |
|
BLAKE2b-256 | 45de991df0774e7878b721d1409445a28cdc164df1aa879f4003bca97f64c479 |