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.288.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d3b6800befb27a314da12eb9bbd64b1071db1fb6fbdca52f59c3c8f3f179ed1 |
|
MD5 | be8eaffbbdebefeb57761a0a4e3d17ca |
|
BLAKE2b-256 | 4a0ba588150ef28499622a59876c8b54dba187d3e8aadcb9b82a40f64654bb05 |
Close
Hashes for cdk_lambda_layer_curl-2.0.288-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64f713155ba91c26aab0d956a1a1030f6b9b1e2e570a55cfdda18372394d2343 |
|
MD5 | d57fb7baeb17075bb12907a879e12890 |
|
BLAKE2b-256 | 4d5621c701a7c3295a2bcff36dac0a2fc127ecd43a8a036a34dfcdcb9c0422ce |