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.401.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da67e77453b48f97254cb66a294f8b1a6939b78e1e9008080e1e4907a5548306 |
|
MD5 | ff0257ba182dff1f34184b8d92794599 |
|
BLAKE2b-256 | 38a3319d71168477863e97ff828d3283e9f2e3321f789a9645c723c52e715a30 |
Close
Hashes for cdk_lambda_layer_wget-2.0.401-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adc304c0571b68c18d04a6d35039f7735ea4788735144e9468a91bbbc2441009 |
|
MD5 | c6d7ad6a68a45654ee4e1227649ce9f2 |
|
BLAKE2b-256 | a8c0158ddbae08ad808e645a219366f53dd9b3a760c7126d9f72409d0e6b68d0 |