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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6180a65a3cb5fddfabb3c28a1dc00e53b42458b03bd847656b73131437a88a3e |
|
MD5 | ccf2cf65cf5bdd37369b3d9e3d363cb0 |
|
BLAKE2b-256 | 58e95e34afd80754f9dd34dd996f136a7426c751bc182b64ba8cf2c01fa0a78a |
Close
Hashes for cdk_lambda_layer_wget-2.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff0688dfacf7a89d94acdc3c18de8711739d6b771819b2e9cd3613d480fa40a8 |
|
MD5 | 3c33ea13002acdf3ba6d83f4f472a38f |
|
BLAKE2b-256 | 1939461d52421a6bdd607e3e9e2b6a7334114602bc237d6e58c28be4915232ea |