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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce4f87d7657b95f5987ed82f9205ef89c754d0b603a5d57212413f7503b86b66 |
|
MD5 | 7927a8cdf7320140a114ace7fadacb82 |
|
BLAKE2b-256 | e930f7d0601c65e363e187933121f310154036f2804a76c0572ed6761b51422e |
Close
Hashes for cdk_lambda_layer_wget-1.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 129e0d1bba8bde07cc8e5d62d89a55b83f810307d6fb098c42fd448f634cf259 |
|
MD5 | 89796f738532d744dd4ce93307ff8dba |
|
BLAKE2b-256 | 35df717bdefc93821b0a6438d93ac6c5502cc38721335b246bd62f84249e48fb |