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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a183e6036e3b116fdbc28e729b9ec69ae2b843925395605cce1165e6fb63e81c |
|
MD5 | 66a9498386e0f1cd9b66de407f5984fb |
|
BLAKE2b-256 | 26515cf612bca229da8954ce53bf41eb3e78e20ab3f6e72ce984d8147de20c6c |
Close
Hashes for cdk_lambda_layer_wget-2.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59ae09c5201db2671794ec8a9e2972514a70b4a9811e21bd458df0101122bdb2 |
|
MD5 | 00a34f4e918408216c7a6f2e95e99b69 |
|
BLAKE2b-256 | 12ea0a22e1d0d5608e09ae449a5865bb9c17237b7d2bb391500e72c674467c72 |