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.284.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2a92ef288f9fe2a3438e0512bf7369fb7ea463eaf87d2be57133edabd27e68e |
|
MD5 | b759444375c83779ae3d36989ed88854 |
|
BLAKE2b-256 | c70ac00f3d19c51dc24edd1c80b6d8284ca27d91377e5bf5fa6b44bd5d9ce94b |
Close
Hashes for cdk_lambda_layer_wget-1.0.284-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61bdca01aa6eaff0e6ebc7bb3fe0d176a28b2855c1f90487f421a247e7a30287 |
|
MD5 | 5220fd1aef9e8cff2c93556e8ffe7ec5 |
|
BLAKE2b-256 | 609328ccd823142036baf77ea008c73fed5488cd3417ba107374edc4ee0dcc97 |