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.597.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 531854cbf48dacd47091e86c54a590e713f5666d11cebc693f39f670419fd028 |
|
MD5 | 5315c1535cc478d5185db68ae2964332 |
|
BLAKE2b-256 | 26fee42e4bac08cebb4aeedbec8fa6c70dd6190c86b3c6f438e30a15ddea0cdd |
Close
Hashes for cdk_lambda_layer_curl-1.0.597-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e242ff7468f966f4753598ba02a93f4461bd253f0feea18c55e9d78ff9ef1b93 |
|
MD5 | 195bbc8d0f560798db59382fe1f782be |
|
BLAKE2b-256 | f7327cc0a3c519d9c8bb4ef6ae3290678ac17f228f96b91beed77c8df0930cc8 |