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.415.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28dc8b4c08b322d7332dd164b50d8a350c46ee51281b9aedda7e03bd89a6cbe2 |
|
MD5 | d99f75519a5275d2d45afb34ce75507a |
|
BLAKE2b-256 | 421e1553df73f9b5c8f5a762610cec3748537f1e8dc70a57d25a290661489a56 |
Close
Hashes for cdk_lambda_layer_curl-1.0.415-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbf1952c59aa090337eb648541c03a06f86f457101e1876ba5d60b830bbf4834 |
|
MD5 | 28ecbba1456667d2812305475246bf11 |
|
BLAKE2b-256 | 43fa329cd32506b49324e66675ef02814f79bf93691c41ea4d98f2a7343d9fbe |