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.373.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff0accb36cfc8a6701042c82f5f1657830659910a41407ecdb972be2d7b8cc0b |
|
MD5 | f550cc9597183a9e5d72e3bc24932ff5 |
|
BLAKE2b-256 | 73ba8d34c5dd52364e272dbeda5e994d7b44a17d760c8d465aa0f62288b73c77 |
Close
Hashes for cdk_lambda_layer_wget-1.0.373-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92d995806b4e0915ad235423bb3da25d0c635c4bf3f581483204e26b1eca93ad |
|
MD5 | e88919b689e62c4ff8e10eb288ebc4ef |
|
BLAKE2b-256 | 59a6debe41cb0e8852c8a9c6dbeee905be7a01bf8d9cb6392913a1fee7b39b8a |