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.442.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9783ae1bfac75bdba15b185000093790b5241653affffb34966bbd5a80e045b |
|
MD5 | 34a8260ba184c0ba965f75a6e99d7c89 |
|
BLAKE2b-256 | 42e7456b13412b41bae7cfd12e9d07b44dc7e06e1bb25c79077d0667cd99a988 |
Close
Hashes for cdk_lambda_layer_wget-1.0.442-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbed4541095e1d36f252974be59a0804fdf48928ee7f0a50408b4e26d9ea3a36 |
|
MD5 | 7be19e523e91f913b0c1b5ec0aefc8bb |
|
BLAKE2b-256 | da1cb7ab585ada021251df718036f5804c4c491dd3aa036dacaad957f586816a |