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.836.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee56a03d76b91834299c27188ba66da0f796d9f05adcfedae3cf94cfcf382184 |
|
MD5 | 41db26cbcab45f81599e5374bd7f2f17 |
|
BLAKE2b-256 | 14a814390d1217a8f21b2111038a4cda725be0cd31871d1c320aef26fa69c47c |
Close
Hashes for cdk_lambda_layer_curl-1.0.836-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b3c09d0e3a20f8a6b1625706b8be5638e8791192ced21a88c64455edfe38319 |
|
MD5 | cf925925aca5bf30f9f59fc05200f762 |
|
BLAKE2b-256 | c7bb72db7275182676cebcf097b5f3d3490cbffeef3c3551d099a574cb1e28a4 |