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.266.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 475b637974c3101ba850b15cb08f726fd23c277d20fb7d1721e46e1fc07eec95 |
|
MD5 | 93f0217d9aef32049d5bdadbae34f816 |
|
BLAKE2b-256 | 0a81e870e298dcb0426cfb2f5c0ebe3928d414261a3015142eec4e59005f5bdb |
Close
Hashes for cdk_lambda_layer_wget-1.0.266-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 803cebc9796b7c9f717237014d52fcfc72f185e1bd7aececcb1e1ccf37b51239 |
|
MD5 | 0dd6bab18de6aae4a7b3f110e757ccbe |
|
BLAKE2b-256 | 1de17bfa67dc8a1080a9df96b56ef5ba58e079f9f4e77d33a7c837b7b427517c |