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.60.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4afd00d577b94e448c015a377850ba67e4481e8eeaa09f02a6524831f0914c8d |
|
MD5 | a89afcb8b9804b189969d66cc2b48578 |
|
BLAKE2b-256 | 9e5663448c61dc34e5a777628f0f7b8ed423b8b74befa144f8fe2943c4472a69 |
Close
Hashes for cdk_lambda_layer_wget-1.0.60-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59d29cb47ea23ad55e5c04960d10591edd8599ed944b73e8ae1767bd7ebbeb8d |
|
MD5 | c1898026d9699599ea0f75cf7f86ea2c |
|
BLAKE2b-256 | cc1997df186230e87a93d72d491225e805337ba5af91df8232ba85db0490e94b |