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.244.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eaa797410243dafcfcb4d41cf875d47f3031ef3db3512c7482513ff5bd088a1 |
|
MD5 | af47aeec35a29190a23cc7b079bcb3e0 |
|
BLAKE2b-256 | aaf161385b3c5f3ee4b32f8c5d5f427f291d91854587edd96cda6ef6b11ac93e |
Close
Hashes for cdk_lambda_layer_wget-2.0.244-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b364734afad907243d6da2b8a8e294c4af40d15ccba75f54a82cace197d6be1 |
|
MD5 | 33154a2c53c71f5d4a69ba1ebc49cac0 |
|
BLAKE2b-256 | abaf5d6f69dbee4405b79b606dc079f96e1db00f511550af585b8d65eb7b5769 |