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-1.0.750.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 463357ebbae72083e574b38d2ef4b862b1fda4b0c1e5f11f89ed577670895e69 |
|
MD5 | 6f227619e42065e8cf4ae178b4e67414 |
|
BLAKE2b-256 | b1de3114613f4d379d9fd353f52405a25dcfa879295b7b5307a4cc2ae7881508 |
Close
Hashes for cdk_lambda_layer_curl-1.0.750-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81d861900be941752eb20700f4d7f9cd3651a4b0ae072025f0af91ddd536ecb8 |
|
MD5 | fa251c1b095dfd1f8e5f832cbed80163 |
|
BLAKE2b-256 | 9ce568566413cd75a68f59b238c528b0ade35e67cad16cb6e6c55a647e0d4fab |