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.407.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e08967dc834a41dda8d6c983b5ebe4dbdd01d316c906b19cc9a5a813e0df9542 |
|
MD5 | d2adbfc345a5042ac594fd2d1b6ca32b |
|
BLAKE2b-256 | e70e6b00bcbfdf0d00b53b0987965ce5261deb7fa451b76892fa8e6b8d8e7b8e |
Close
Hashes for cdk_lambda_layer_wget-1.0.407-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70d7b885178102ebf3163b5c5045f9b774f82e08069706dbecb81ae4b92e2e6a |
|
MD5 | 056dfb7704b4c201a34bbe9aa91936a2 |
|
BLAKE2b-256 | 650e26bacedfb7b310bfdc8417fde50646bb00b9b06afa0560d81e2ed9cef871 |