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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e101186c98e910fa091c9d2849f73c5e8af00070550a987a7b2213f43a2fd622 |
|
MD5 | f01d9b94216c5524270f49e703b2215e |
|
BLAKE2b-256 | fd5b7a5b29e1a12eb16d8283a8dfbd994b80b217c03613fa9e7f42f226f0cdcc |
Close
Hashes for cdk_lambda_layer_wget-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7852a115c5259f555f517d82673c58ec22e9ea63fbd6963cfebf7f8721a056ce |
|
MD5 | fca5d0090d390ad91d7a33d459e4ff5d |
|
BLAKE2b-256 | 5cf8cf0cf5479c5e6172e04c734c864d3135cbe55fbb6f0ca7513a9fe2abcaa7 |