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.229.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a23c4a1c18a30ae429c7f4491ea865ca09dccfab77043a711c0deb33083e68cd |
|
MD5 | 5d196bd62fb3e6d7277bdff85bb00bee |
|
BLAKE2b-256 | 17d3809ccc85a3de1de6818d6454b21f6a972a993712ba68714ad841675eb0ed |
Close
Hashes for cdk_lambda_layer_wget-1.0.229-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 473a3f7ec13ae4423dbee65eeaf26f945606c8399d458e02dab68727413d0e18 |
|
MD5 | 4b73fba15d9cd7f1d71354d5638658a4 |
|
BLAKE2b-256 | cfe58a3a3daa0ad39f1e75e5d64971b5c427af92c1d902ddb5c08cf82f65e7ec |