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.302.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 047176665f28b0c06bf6a2cf19bc415fd8c72ddf386e5ee97a0362ba2876d3f4 |
|
MD5 | 7be8f0974d5d07aa3f896fb2e941558c |
|
BLAKE2b-256 | dbe119af19473f04f9b2dd2e79811a0ea24076935d5a606f5d58ea33e217ea02 |
Close
Hashes for cdk_lambda_layer_wget-2.0.302-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af6f53550b772f041a330e9e123bc35d0aa8b459aaf67cb3889205d8a4b64c3b |
|
MD5 | 8004146b7eb4388ea6e34e925132d27d |
|
BLAKE2b-256 | 70f150ba947838faba929a7e71d5be85dbee5adf1bcb7ec96dc9b0989df974f0 |