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.463.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a2ff8441711d6c070482e7f3ef31321bc043c2344dbe7a4f12a0dbff14e82b1 |
|
MD5 | 03a381d6ad73abffcf2849ef739a9272 |
|
BLAKE2b-256 | 4014d55bbbf2dfd84b4155e0ebff3ea7c5e61c50197061657f6e4f75d7849696 |
Close
Hashes for cdk_lambda_layer_curl-2.0.463-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bd76cb3f5d7f1241693816e49ddcebfccccad4d6275fe9906a12dc592c9b0ab |
|
MD5 | 9e8393dcdbac0141c5dee458723701f5 |
|
BLAKE2b-256 | 02473c3f07e86556259a0a275633a69a12eb3fa989d274a468de00d65d8ffc6b |