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.364.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a09d253234b063c4eeaea51fad4f3cc19116a5b8762c9f6a987a66238f1c52f3 |
|
MD5 | 7a81a32deec5203addfd551e31c15a95 |
|
BLAKE2b-256 | ff57ecba5816ab542d1c9cee18a00316bdf9b92a3b7ba1ac2a2b7e0ba20986ee |
Close
Hashes for cdk_lambda_layer_curl-2.0.364-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa7f05c39a978e37e7ea06ce1aa1f694cba3d8ef953138fb5940eb3edab2c5a3 |
|
MD5 | b03eb689eb7514c477e0e74f3e2a5f1a |
|
BLAKE2b-256 | e626265238ec4750ffe3a5dd9553f02d6976e90ef807a607a2b705cf7e593e98 |