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.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fb47aa2cbea504bcf12559c48b8763cf9dc2021a0df4ae3de5e6712e9139a29 |
|
MD5 | de22c380be3e8e115cfd84d323c2427c |
|
BLAKE2b-256 | 61fc5c073a6bbab96bc6a7c80668a4c566f74131510ebbcdbe4f426e4f9c26f4 |
Close
Hashes for cdk_lambda_layer_wget-1.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8b4185d8653db85f767c1e5e58003633f6d3120852bdf89d6069d62ca69d9d3 |
|
MD5 | 04ff136b6fc8d3d545997af1cd58cae3 |
|
BLAKE2b-256 | b13e78211ce897b3435da3bbb84982ef505b0ea5e5a6f6d81e7c4a1624a64563 |