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.190.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52a7f6768a5f528d244b89df50160d4cb0a7efb923aaa5724fd17e7db697049e |
|
MD5 | 5047190a9b4feecfd4b625a87bb491ba |
|
BLAKE2b-256 | a40dd0f22e638ce70fba39c25f9368fdb5ab83791de1e63c9734e12f1b7692a7 |
Close
Hashes for cdk_lambda_layer_wget-2.0.190-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dafe84c859115aac034a9b408ee143c68d97c6e390ff3f5027f3eec5c6dbc5e |
|
MD5 | 19d5f05f0a051f5f31a6c1cf8c8ad427 |
|
BLAKE2b-256 | 8fbb03cfded9f8b6262cbd68016be1a04df9001035daa387fc5e8065b62ec244 |