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.725.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24e398dc2f5b49b9509c850e0b8685b150ae2702758f623056ade2435216075c |
|
MD5 | b87a4dc78b286742128dbf3de557912e |
|
BLAKE2b-256 | 139e2b2195d8e56dcea34b02b641f0f953b63c1610239a148bcae5c55abfcf0a |
Close
Hashes for cdk_lambda_layer_curl-2.0.725-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ef54fbfa5ddc21b603db9217517e6eeb650edd8c3e30c9c3df3d143ed78acbd |
|
MD5 | f283ce0e5c539ef04f301cb73b86d53e |
|
BLAKE2b-256 | a298c3a0daaac980887135c8131358104421e3c2495c8086e801a90b69eb78e8 |