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.313.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61213a4096b0e8f4cf243d59eb2f2031867d2acae3e04a896c3339e5cb7b2a1f |
|
MD5 | 3f76afc962f11d009eec4592e00d8ce6 |
|
BLAKE2b-256 | 5036e8e8d8d0b0f76196aee3ad9893182a37adff862e02d5dc5dfcc6fbe3c967 |
Close
Hashes for cdk_lambda_layer_wget-1.0.313-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33b56b56b84de5eb9dc0f9c24e5e59dab1a521b217835a0ac6c46a6bd33320b2 |
|
MD5 | 1e905f3094b3bf3a2cebb7da136301ca |
|
BLAKE2b-256 | 808a574969ffb9b2a9f7f07d5d5efe6ad5f5dc1200b97d2e6f2cb581c6cc2087 |