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.351.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35816667903244e97656db2480eff17f932284a567ce2882b3b2ebe6888d55d9 |
|
MD5 | 458b2f97d82cbdd5601bf6ee5100c8ad |
|
BLAKE2b-256 | f487b4d66ce353af262e914114e49022c77b7dacaae2ef0fa315ad52b2402feb |
Close
Hashes for cdk_lambda_layer_wget-1.0.351-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6fbb2d1a59497fc643660727c1ad848fc8f531234800feee354a7656c6cb635 |
|
MD5 | fc13b5b623f2415a9ba637b09856a17d |
|
BLAKE2b-256 | d4efa7c68196fcae4f36cd723e560504702bb4820f102261375c279bd1d42ee9 |