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.100.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a33dcb6f3ba4dc761e68582f09b456af583e996f46f357bfca22b9794d4e353 |
|
MD5 | ecf35be36cfa5845df31badf20a666ab |
|
BLAKE2b-256 | 9c29da2a6adc6acb20ad9656b259c50f3c2788be242440307b8f688cdde74078 |
Close
Hashes for cdk_lambda_layer_curl-2.0.100-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 623e0e77ac211dc34d33f91ed5e88bdb13df1147887a13f72c9943fc7f4121f6 |
|
MD5 | 69b53850c8bc4600acd48e0c6f99588e |
|
BLAKE2b-256 | bfffe070fd2f669ca61eb587146d1d38a049d0152637e31c3e5bab3c4177a801 |