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.171.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09caad9664668c1867e60ff1f164f0f8dc95d5c4d183755a00c5251ef702e1e1 |
|
MD5 | 0dcce991d2efed516384d985c065a303 |
|
BLAKE2b-256 | c2706ce23139f7b495d354d38000a5d9dc812ff828b9b1f1186f3ea983a6598c |
Close
Hashes for cdk_lambda_layer_curl-2.0.171-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0946d263b61bc8981d2cdaeec9c378ba9e4b8b78ac38e2ff9692bea2654b039 |
|
MD5 | a54434e51f8d0b0e7c8d6b5499ab7e32 |
|
BLAKE2b-256 | a2a154239319b5bdc28bdea224cb50a4466b5796eb0cf6aac8a655253dfe1e06 |