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.222.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb8a4d0b1cae0aa6af409eee1a674c91035bbcaddddc83f4c7ae7585e66c7920 |
|
MD5 | 3f6571f26f7331436366a7346d1f6b89 |
|
BLAKE2b-256 | 1dbf44a0f1f58eb4a0db4cc0258445d3fdf1fcba8efb92eaaeabe682815e2040 |
Close
Hashes for cdk_lambda_layer_wget-2.0.222-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c5e1ac997824dc14f2aae167d351058ca460cb8b4342549f9c60528cc567bc2 |
|
MD5 | db06d8a0fbe44de95b110c4cb4fb6a65 |
|
BLAKE2b-256 | 01228ed0b326d315c30b92ab5d50445358d46ea91eeac2a2efdf808099cb2c43 |