For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
// CurlLayer bundles the curl in a lambda layer
import { CurlLayer } from 'cdk-lambda-layer-curl';
declare const fn: lambda.Function;
fn.addLayers(new CurlLayer(this, 'CurlLayer'));
import { CurlLayer } from 'cdk-lambda-layer-curl'
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 CurlLayer(this, 'CurlLayer')]
});
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-curl-2.0.98.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfa773ee6103e9929503332a8a94d02ebab42cd19f8ecf04946f89421ff2f4cc |
|
MD5 | 667b025fdf5ec3e7efe7f4bafdafbd28 |
|
BLAKE2b-256 | c8e239c88cfa63f418383f3a383b2b62dfe801cbfd5c53de4d005804c19d76dc |
Close
Hashes for cdk_lambda_layer_curl-2.0.98-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 385203b7f946972c4194d6e33c154a8c40518ec7bf6f6a044af9d1dca22b891f |
|
MD5 | c0aa91bb0cdf978bca5e18101986995d |
|
BLAKE2b-256 | 33be842e41246ce10a62389758dbef85c605e735a0707cd88891b5ce06cd3bd4 |