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.172.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c58831c81c1a98ced4cd9945b9e82c0c2d8916d646f0aef2e33208a8d6effe9 |
|
MD5 | 299e67afe27a63f6fb0cd70cde0b8b68 |
|
BLAKE2b-256 | 9b688af61b0a5060d81c2457dcadb8c99699a4788cbc143be9fc420c0643834b |
Close
Hashes for cdk_lambda_layer_wget-2.0.172-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1f9ac9aeff6c766ef3dc0e92db56753396a967f416e55a95f52e7a6fcfb232e |
|
MD5 | 089982e241217c555109ba51f7b25dac |
|
BLAKE2b-256 | fec688d2ba5423a71cfa940b3471e2c6c500b81e6af3d33aca10431ff1b281ed |