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.87.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e3d0c4ba831dd1409133969515a412ac0a56c24d1aad01097c4d89a4a182c39 |
|
MD5 | 3d930eef2184c5e050a2b7a961392176 |
|
BLAKE2b-256 | 22e708dbe67456170f27d75f15b14d82db794ae98f3c6217111227322f82c5b7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.87-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17158158608ed8352f6c424c7008d107a58663427241c49cd1823ce4c17c04fe |
|
MD5 | 3e173235bf2b48b762da79512105c267 |
|
BLAKE2b-256 | aaf3d0c4335d04df318883b2082e6f59ee036cb054e6ff1c190ae1feb55fae4e |