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.136.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4b1f2a0a2d035cbef12450ef39b89c27b6adc0aa76398e62fe79c4c3ab0f9ad |
|
MD5 | b5480a46ba304120d80d71f0b87ff806 |
|
BLAKE2b-256 | a78372fa57816e7473c6d1b366aabe04258f37e50092341d0143c265a7f441ca |
Close
Hashes for cdk_lambda_layer_wget-2.0.136-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25c3786d90f091c7cb1e207225be25c5ef6c86281c67026bbf3d88a8eb741d6e |
|
MD5 | ed23fd43838e9c60dcc930c127371dcb |
|
BLAKE2b-256 | e6c121c68f5df44cf2bddfd0cdc5b6f351af9839dd465ff221958aacd620463c |