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.134.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ca84f70e410577ef9ab1fd4db14d6320a714c628acf9323a5c370c004fe6759 |
|
MD5 | 36ca0156e8943c497dbb9999ed40c038 |
|
BLAKE2b-256 | e2e55717b93b0089ee49d3f087bcc53e29b9266bb9d5c111fb99e2ec5de8ec5a |
Close
Hashes for cdk_lambda_layer_wget-2.0.134-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3f75d044cc2fff7000ad43c0ae1b5e52525d3c1920d9c268ca0e3a6fafd6f1c |
|
MD5 | b09985a2de896376ef94f812b524213a |
|
BLAKE2b-256 | ca6211047bc12c46083a8d62180aadb2d361b6bbbdb26d5ecfe756ffcb4224a6 |