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.615.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b0f3c24881f065cb431df45044aa8d67c72019289417783079bce6d31abdf69 |
|
MD5 | 4f4d442042583ec0a467db718b3c183a |
|
BLAKE2b-256 | d0d699fcaea2d9474dd12937cc981da76c0805b38d48cbab756fec24d57b2ca4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.615-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee7b4139a5fc1728b875d5eba4118ec06603aa8f45cb3d7320426dc01791de1e |
|
MD5 | 84d2c5f23f6b99f8cb2f8e596b5d04b7 |
|
BLAKE2b-256 | 49b90043af3dd3f1656986fcc7ff97c1919d5c718144a3a2400ac6c550b5b0a4 |