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.32.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35a36e306ab5fc4e26415e700d54b20f861b875735806018a779fb67b715b47f |
|
MD5 | 03730e32f2cb6b0f8c911b9d5f82e13e |
|
BLAKE2b-256 | 997526f744486ed427f3a65f4ef61830e3c24f223706a0782c292cfcd917eb95 |
Close
Hashes for cdk_lambda_layer_wget-2.0.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8c46efe9a1df2ee221ef8c132491d51b3f33c80d390b2d28682b55951300e6f |
|
MD5 | 7f45bf8c061a94330ad8180eb1b09230 |
|
BLAKE2b-256 | 2cd2245e71b0db6fe0852433e98a490170b5865e6d7ca9a4cfdffca2e123fc11 |