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.221.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 902941788717a8f5a281d3a50a6ed7022436f6ca6ea99c869f4bc6d21e5b2782 |
|
MD5 | 57dd2634e5ffbae64defc1dc184df4ca |
|
BLAKE2b-256 | 827ea467ecb42a7636c5368d1ac79f8712239c5fcb827df68640cab1813e7210 |
Close
Hashes for cdk_lambda_layer_wget-1.0.221-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce9885e7c23e38db592f9602647d3498042ab2ec19005158ae994ecea0c0b9b0 |
|
MD5 | cd78eff5839ef3e54bdd51a1321e1613 |
|
BLAKE2b-256 | c2314d34109278407d9ac45fec318540093f0a1626cba78c8b2420d656e415d6 |