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.331.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 303a2488cf6775bb9026b5f45f82ed27b81962ccdd64f87d251458d92c959e78 |
|
MD5 | ea84a1ed58625065055fa69dacb944a7 |
|
BLAKE2b-256 | bc69ffe233178a63c163a8eff2b3eb024eb971203e8c7944f8f2dd3efbb795c9 |
Close
Hashes for cdk_lambda_layer_wget-1.0.331-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e4563d4bf3b243cdae350b618aef4ade26729b6c73c45206cf435ece8d66ec |
|
MD5 | 4dff51b5b8d3c36339d4e14d5fcc9396 |
|
BLAKE2b-256 | 7db8654527158674e34a875b9667697f50f4fc185a57b57c6cc06d9f2dd3823f |