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.444.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd44eaa095ed9026d2aa45f2af801d5b0fc7c11b1886b0f53423c76876d2dbaa |
|
MD5 | 79e1b14b23fbdcaa1d22b12bdaa2898d |
|
BLAKE2b-256 | 2017d209a3c0fc87c21e2995a6af2aa2de6edd665df8a11bc199bd7d11ffbb23 |
Close
Hashes for cdk_lambda_layer_curl-2.0.444-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0ae3f93c28824d15dee4e1f0237dbf47d1bacb40ef54c28a6587a85b6e121f7 |
|
MD5 | b4c6774193b43985ac0c28349e383b7a |
|
BLAKE2b-256 | 0ae3d796387fc54058128401cad3211f3978b27b51c91b4660de79ffd09d4a86 |