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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a1708a808ba7ee4e3c979bb041bddc9c1c922aca1a31281fd53163a4bd29676 |
|
MD5 | c2e015403a0224a4ca722057120dd419 |
|
BLAKE2b-256 | 2946743f74616e3bb04cb8da78f12d79c3d0ab67b709ff66238a3cb336bd97d5 |
Close
Hashes for cdk_lambda_layer_wget-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9eb9a0c42dc6d4ff6fbb92ef735fbe5b10e326fe9945dfeac1757090eb775572 |
|
MD5 | eb7ef7d10406520372bf6cad5f851f19 |
|
BLAKE2b-256 | 70eea19f5ff932171730741e66d78236aa21a4c2a91e74a9e691c701c8de568c |