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.772.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 935cd67daea095b182b3cd0dbdfa788a10483c5301e3838eec6dd2bc6eaa7bdc |
|
MD5 | dca5df0677155d772192a9a5cad3d42f |
|
BLAKE2b-256 | 3591da75d94f616e34d24635e838a95b4739675cc390618b5ea12bacaf82943c |
Close
Hashes for cdk_lambda_layer_curl-2.0.772-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4956623e44e3063617889703fcd788b8d7ffc704f47f44d59dbed2f365aed89b |
|
MD5 | 0c9dc5948670acdb554fc93957ea2583 |
|
BLAKE2b-256 | 0c20e35d96e63419a5d27332c26e443e357a37766923812ae02639ffb2f9d667 |