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.382.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e9e8b18fd7b8b937008daf2d0a570a665bdfb3d7c70379c1edacab09204a58e |
|
MD5 | 56e7977f2dbff31f8fe4f70b25bb9d43 |
|
BLAKE2b-256 | e028d2a2e594f537fa7dc3b32dc4def275f4e1782d440e738e5166ff3a654db4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.382-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68278e82dfb7ae889d90990da6e216392370bcb5efe25f22cd504b20b70b06e4 |
|
MD5 | 56de78a7571bb889a99032e3cb652bba |
|
BLAKE2b-256 | 445b108f9e69d19879d26b2c6286c58363ff10af6b8f74275bdda16c488cbf7f |