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.595.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | baed4cd9e7a536af36f8fb60cfe74142e1e5e75b9ef7b907b6588eba3149fcfa |
|
MD5 | 9b4f936a443934b0f76dd626beeafe4b |
|
BLAKE2b-256 | a457ed1f72d643fa38292f7cd22ac3895d995a7f81f6bcda664f03f05016e522 |
Close
Hashes for cdk_lambda_layer_curl-1.0.595-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb717d914f2e73d358501602d9c089641585b8ac46371570ad88bc54a3b1233c |
|
MD5 | 03165362f2942408dfcf8cd1b63f23d1 |
|
BLAKE2b-256 | 4077fa898bd33c8086fe52be9857e52d8c8965f669011927ddcc7e4c3887844d |