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.72.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 871c11a46fd80774e3b1aadc455c58a556dfdd0eac2849453ea28b118b01de35 |
|
MD5 | 650c3aa16018d331d691ef67059c7896 |
|
BLAKE2b-256 | fefe7ab8b1c3a6a102b1ba1965a75a7e87e363399868f9253542f1c1da25d009 |
Close
Hashes for cdk_lambda_layer_wget-2.0.72-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1acff5f27e01a3dc87aa0a74f09ba4f65e174b30ecd0a596bfcf029c6022c54e |
|
MD5 | 6fc212907ec69e5374c3a60d44e26d50 |
|
BLAKE2b-256 | 5d2a30d708a03fd8e8c3fa75aacb73111935437ce6620f59ac4ad6e999d2e478 |