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.357.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53875c1f73feb5ff915d0086aff5f9ffb3b74690260aa69864cf0aca03fad16e |
|
MD5 | f20c20665ac08f690cce042f50f28b68 |
|
BLAKE2b-256 | b9285d4d8fc691c1db65f106c4b28d81f112c21b5efeeac58e1d39911122b793 |
Close
Hashes for cdk_lambda_layer_wget-2.0.357-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3fb07e5d3622f4504af475e2dd791616c6763bf5ee0406ee54a3eaa71e5bac9 |
|
MD5 | 33d06f18f188f5aa0adb97a0451d4133 |
|
BLAKE2b-256 | b119e5564f565da8a7bf7de6c23a24a76c70afe30d7857ac93e0bd63c4dc0f86 |