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.222.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ae33b2861012175462221850d9f69731a70042fd351f75801662aa0e6c1108f |
|
MD5 | a08e19a03880340542993414f6df49d1 |
|
BLAKE2b-256 | bb8536048368b1f3a5482b6ff41d6ccacb7b7ab725ecca869938c41c9f35b782 |
Close
Hashes for cdk_lambda_layer_wget-1.0.222-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cbead21b2b12febaa57c13c248f3eef59a52c76994861981d23c842694fdea0 |
|
MD5 | dbad8d469732d0ec570d53e22dc8d66b |
|
BLAKE2b-256 | 7af7be8702b8f590d227b0c15076eb15684853062c81707d333f142e310ec5e0 |