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.179.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 879aa812c07be6d6a473ba451e7c387c8eab1a62d41a3f3c991656fbf745bcc1 |
|
MD5 | d785f9120bbb591dc5c449ad356fcaf7 |
|
BLAKE2b-256 | cc0138a4438218e06f1cfa610cab759f517fb877510b75e55a799c4bc0f5e01b |
Close
Hashes for cdk_lambda_layer_curl-1.0.179-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40122a14e213869ed578dad1c7f5404666490d3dbb7a2e8c18b514bd74e43e33 |
|
MD5 | 5b8db67732597ecf2abafc62d57e1a25 |
|
BLAKE2b-256 | 559a43a57a94e24f595b290316eb5f1a77a32a5460e8dcae3fa2d670864f0ec6 |