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.137.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1a3bdd1dff02d8eb074a56c05be7da90725c0a58a8bfb61092918de94b7097d |
|
MD5 | de54de6655b48c6495e9fac2f7b884e4 |
|
BLAKE2b-256 | 03ee83e98b3dffc105dc27d73cbf5375ac7eef2ff513eafc53a1df0644024765 |
Close
Hashes for cdk_lambda_layer_wget-2.0.137-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f18cb07dd7348660e834ec985a5417e7d5cc9c98369a13820c0788cd89ab60d3 |
|
MD5 | 9149c3d2b72d7a55fc2939be15a7ea0b |
|
BLAKE2b-256 | fe2d79e90d0130ce228c89bdccf6c4251c41e5e67928376dcb53da0eb8a3aa3f |