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.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8697ec49638d6245d9f8767e1690223ddac1881d7524f8d4d68a456e14ef483b |
|
MD5 | da2487228c02a8ddc6a64795cc653895 |
|
BLAKE2b-256 | f6b86d3ddb19945fcacce2e9b78f2fae7b631ad59ae8fe53dc4b906b2597f13a |
Close
Hashes for cdk_lambda_layer_curl-2.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2fbc35bfd6ccfe3b95260461c0606aaca0d4b9001798390d3504549143997b6 |
|
MD5 | ad4c4e36855cec12694ec79974ad3bac |
|
BLAKE2b-256 | 3bbf75db347e27c8ff9510c58eca9509c6abfbe007d1e40aadeda529f69b4b60 |