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.335.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ff4828fad244ad232d3f8cb3423d0085e2d4d6ed62206d3cb8be13903482b21 |
|
MD5 | e5175d08176a3ee85ed3c5caa3b5df33 |
|
BLAKE2b-256 | 45729c8ba2322b2212cc525c047624f091da4514f08dd7e26de8bc95d33989e8 |
Close
Hashes for cdk_lambda_layer_wget-1.0.335-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2355360be5e9b406892e6ab0589602f2aaa97149443eab668eb934345860313 |
|
MD5 | b9abe8cca90691d3dad1ffa5f9f31307 |
|
BLAKE2b-256 | 45ea741f9708ae9f1b57e68d8243f0116310f6bc07f208e30f7c12bd4d833b07 |