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.130.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cb26dca0c3f6df918cd6b2f188983f489e9220479cc7c5e2d4ebf28356ab24b |
|
MD5 | dbb5620825dbe4b713d9099d711ebd0b |
|
BLAKE2b-256 | da9bed6fbd539045356ba5cfd2102844f85158fcaaa0e96bb10bf00cfbd917cc |
Close
Hashes for cdk_lambda_layer_wget-2.0.130-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0252a47c2e4821c9f302b93dadc337b983fcbb120008d245fda3af101597b47c |
|
MD5 | 488e1ac08bf3461dbb756d67de1c1159 |
|
BLAKE2b-256 | ccbc281c534d8dc31c410ee74b407a0b1a4c1479d2a719b9f57f60387c524057 |