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.238.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aa9c7bc498c62c3320063f0f7575cc25138362e8828b2f0689be62a9da170bf |
|
MD5 | a1d9cb44e3b473e35336fe288d752d76 |
|
BLAKE2b-256 | 2f17ac943f0a92855f7d8adfae38b0c2b18758c28d485d061103f6d9a104bb84 |
Close
Hashes for cdk_lambda_layer_curl-2.0.238-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8b87de2c06611faa547638a9673b90be149e7b5204fe0111af854ef6f7b5552 |
|
MD5 | 49dd29c8825211f42e2f284ebe5f7ee6 |
|
BLAKE2b-256 | 9a50002c1c3b6d7d20ac73d520d3b8119ae897020b3aea6045c7b5cb42d8026e |