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.348.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecdc672a5c0fc13d5d3eeb03f0bd5bd16f00771d6e8e434d3251d2147a2f9cd5 |
|
MD5 | adf54c49cf8608cf44d423dbb8784a24 |
|
BLAKE2b-256 | 6f6008e59acd7d153572574216a6991ed9397286504c1e11ed6e4aa9667077f2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.348-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f3c1cd9b2de8babaabb07589e323356fd816352ea1f1d0de270d3a2313c5ace |
|
MD5 | c0dc4d223d295510ad755823e35a684e |
|
BLAKE2b-256 | 8a8f2ecbfccac679687271b8a60641500ca0cc6b8f201cf51b4c654c25fa379c |