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.62.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f384847f529f763d5d73829f16ab7beb84e2a50be7a82154809612ccf468885 |
|
MD5 | 207a740d5984ab4f3bdc35142b3e691e |
|
BLAKE2b-256 | 5ccb90c7f8988471c3c53d91c95bee731bc31a655cba43ea1399127eaaaa0d7e |
Close
Hashes for cdk_lambda_layer_wget-1.0.62-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 178f0b5b7cdd1880f45a51ebf1552481a66bb5a348056fa7859ce9fa54cd2987 |
|
MD5 | 46ab6c7d32654c733ccb8c433277e2d3 |
|
BLAKE2b-256 | c4cf797989db4b27e86505498e837fed33c8d9497bfb387943896952b464e435 |