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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82aace4b0bbe79cd2f9d14f1417b3f6e4c4412f2d63d90b991bc724e24c8c27c |
|
MD5 | f80e03965a18fdfd7f8b5e93fccf30de |
|
BLAKE2b-256 | 1df807d2c4274867602713ac106a1a17160d9bdd9e480093d9aecbbe54037369 |
Close
Hashes for cdk_lambda_layer_wget-2.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02be94d616fa34821b91d9d08ec0fd20cfe23e4b7e0841d80fea99b1a3a64622 |
|
MD5 | 16ccb89dabb769a8f5c14f90331d3e7c |
|
BLAKE2b-256 | d03dc04a8c5c2fb8398e6b90a5dfdc970760485fe118017f68c0bfeabe32c3cf |