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.248.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0ce0de2e73d79d894cf83eb490004bc68e1b927e8424d4a8c2c8d21ff851a78 |
|
MD5 | acd85850fdd6c51304802d8231d686cc |
|
BLAKE2b-256 | 6173a727ee81338c03108ba6b70348187b96642066189965cdb6fe7c5b326c38 |
Close
Hashes for cdk_lambda_layer_curl-2.0.248-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0995fcc05bc16a4f285e3408eb5a8b26c775dea49749905d66407c55a8d5611 |
|
MD5 | 389f4cd7866aa7014bd25d91b522c09b |
|
BLAKE2b-256 | 1460eb55ee38ae4127e0132265dc1b2f6df1101a4aba10e1724ebb81d9c6c76b |