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.381.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da752b75e104674ec6db9247de7e9b449cdef672a9416d31ec79fcc24e412e44 |
|
MD5 | aa2a05c4173efd2a0bffe30598c88b04 |
|
BLAKE2b-256 | b0eca55fd9952c1e2d77892c0860dbeacfc929c265c0ba1a7591a925b3996889 |
Close
Hashes for cdk_lambda_layer_wget-1.0.381-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91f34e5784a08b7559e2144ca7a3e6c951d93a9a8f76aa630ab8dcb5cb265e23 |
|
MD5 | a675fd06b5b1d505e81aab0641a0b0c9 |
|
BLAKE2b-256 | 1779f033bbf878876f4b01ce17ada253a268e10e01e131b389d0c9850849b095 |