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.276.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6451be86f68ec91f750d3159a00c5f347d99947b6c78415521d9c64afbf2492 |
|
MD5 | 7e849d8eb2dfd6462531019541e4fe0f |
|
BLAKE2b-256 | b9c69312b250c5c2699e816983c733f99edf01172e7df5ff83a6b1d9b0f54add |
Close
Hashes for cdk_lambda_layer_wget-2.0.276-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66a2c3dfc9b70ca72e32b6640bea58b2dec9a5f843ed5e35dd19c78419d8aca9 |
|
MD5 | 5b8ad789d872ef7ec6c07bfb005ac8b6 |
|
BLAKE2b-256 | 332640f96c09d5124e3be50efef9c56fd37041a2269876af457d635fa32ef2ef |