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.120.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dcadb606a30663b1ce97cb70f1e01569d67bb1a4c58f3de486c8a4096cdad02 |
|
MD5 | 108615908bb4ffe53f74ef4774b37903 |
|
BLAKE2b-256 | 79febc8e7fb4917e0988d05523098f4926c231c7eade8023aac6f30449965fbd |
Close
Hashes for cdk_lambda_layer_curl-2.0.120-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2029150f63acf0688dfb7922fdcc400f7597b5e77496d5bee05191b7f22061a |
|
MD5 | 2532aeae6bce208749e88cad51a5f7cb |
|
BLAKE2b-256 | 6efacab03a86036e74a9b70e12af28f331cff5c9f7d59efffd91005e3e636d7d |