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.331.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6633987d95373a92fb4eb83fe309543abb083baf7026bc9f0e0134330f067d1 |
|
MD5 | 0fc8e6ff738761d780daec9f6e00a93a |
|
BLAKE2b-256 | b1f4c1df25744b8e26e4e8eb4e8515c0994710e4dba47bf32f7bfe047494a66c |
Close
Hashes for cdk_lambda_layer_wget-2.0.331-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | baaa3927b837738133eb3e4228f40d7bf418ddc9b4b998c7231aa3cc6cbbec7a |
|
MD5 | d0a82bd84ff1ac8aba8c511fd15b7b0f |
|
BLAKE2b-256 | 23ad6576ac7e6e0e4fa3a52101372823f0e2db23e03cf995d585b91f5965d30e |