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.370.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2071008c65d826f6754b7f66df8b0fc706b21cff8edfe0e825f4493b9aa24ada |
|
MD5 | f2fe747a3f430a8ade012850fe1de6c6 |
|
BLAKE2b-256 | a39d191d9718b1ee8f681842c747b2cfaf0dbc94b35069b34a50447051d52314 |
Close
Hashes for cdk_lambda_layer_wget-1.0.370-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b9abbc22be581e08ac47d8aa10891250794e9f5cda72182a1549948d970ed8e |
|
MD5 | a1f2caf1574c72d19a206aa89c090fa2 |
|
BLAKE2b-256 | 75e66dd1f4b1326afe3df8e9a4d090f037daa626498304cd276813c9bd4cf4ef |