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.133.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f68a45f9d44f9d3cec493946390747799e40ab993ed197061118c97a2a9a1e71 |
|
MD5 | 11100e9747552a48584d5bc8725148dc |
|
BLAKE2b-256 | 302d1ab86b612044a2d8b7edca78dcc6910a5216f6f142d1ce44b7e5b3886be2 |
Close
Hashes for cdk_lambda_layer_wget-1.0.133-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9c84d80223c30b5474c457ffeb0229884a27b1a1d07ddb4d9da9c20b36a8ea1 |
|
MD5 | 3fa3ed43c12bc628e02cb87ff223896a |
|
BLAKE2b-256 | dd1ff76267b027b24ae8462846e402e635be897fd0b08808d7ba315ed0214d00 |