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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f672113f57786ce15d44fece522b25a4834e9684a760c7bad853c4da6063ce5 |
|
MD5 | 245ed93ddebaf1a7a5d1e971e4475f26 |
|
BLAKE2b-256 | f0028686bcb35bcc8ccab4028a09df47760c8794a429ddac4960006a7e6282f7 |
Close
Hashes for cdk_lambda_layer_wget-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 132aca6c5c364bb830f88df1747fe25665d33a824b0815ef197ff934fac2b74b |
|
MD5 | a998ba9f31dd7361e9e2693c5d15ff01 |
|
BLAKE2b-256 | 7f177c9748465b952cf125df43c1bbee5d297bfca4375dd6e27af33b995cd6a2 |