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-1.0.270.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e58c2546b2d6c686ed22c698d188bd9dafae0ab64ba08cdd5d4b60435ee55771 |
|
MD5 | 54672c4d15ef04d7f362c7e2fa2408da |
|
BLAKE2b-256 | 839438b3f513120a651fa06f204d351d00b249129e34a75836b079578afc3257 |
Close
Hashes for cdk_lambda_layer_curl-1.0.270-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba95a55ff505dca6dc97f0ab74fc4c4109729ebebccdc6349c4c7f006feed68a |
|
MD5 | 39479c63b55c8c05d8e52f9174e05e82 |
|
BLAKE2b-256 | 46d590dfc4f06b0d5244a061d4b4983fc7a82abd6ba2d52cdd146baa5d221bbb |