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.371.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3372b636acb1328f910a4161bb70eb4ca588790b8d31c40c791009f146af42a8 |
|
MD5 | 1532446c57b5e555cfe5f45a23d2bddf |
|
BLAKE2b-256 | e6223fbab363c5abb7f2011bb6c3c2a3ee2d253556f49d3fa32c0246306e1f39 |
Close
Hashes for cdk_lambda_layer_wget-1.0.371-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 272a8bd17d9203689bdea6fe1c6a62d75b7bbc87208fe0da51688c75b8d775b1 |
|
MD5 | 820adc363153cd268aabebdd0e57fbca |
|
BLAKE2b-256 | 0bf3b1a93e35b0802fe0b60971be6b525b3b475037dbb85c7752679ad67470fd |