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.267.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f759d737915325594781ea3d4b06ac6bca9b955b1dc2d128b2aa34eeedea0b1 |
|
MD5 | b695c58a8c05e6b8aa323d7ba58c89ca |
|
BLAKE2b-256 | 8d1daa2753a70b6637775f2882da127641fd9de70c0d4b3a0461af530a4cbfe5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.267-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 335a7f3a08b16eb2fc478d682a7dc355e39f936f0a01130ff57d8b54744120df |
|
MD5 | 83cd778ad96d2281fb3437f8508baddb |
|
BLAKE2b-256 | 6da1cfab977d9001c630aba618f77051aeb232c55555a10b9ef18caf921b9b7e |