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.287.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e591cb43ae3b03c6552666001d1a9cb25ec89df012e1001fd543c64fb8a63f0a |
|
MD5 | d90b84f000b7c85e1267b853dfb400dc |
|
BLAKE2b-256 | 6257c7844cb8668b8bd2af73c409f3bafa8d841cf0d9aa75ec6434a1e962f571 |
Close
Hashes for cdk_lambda_layer_wget-2.0.287-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b99aa9f15762f39c7e14f8c0c97568195f03283d11dfc099a81f1305b02270a7 |
|
MD5 | 25573372d8de6dbdd1d0c5210545bc1e |
|
BLAKE2b-256 | 5c56feb21fb15932592cbcad199dcf28b9ecb2d6cf1e24657ca35e0e04fcd68b |