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.218.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82708d8aafbe7db84838275aa2900cc5135f96125fe6dd9273eb6b38a3bc16bf |
|
MD5 | 5993edb2ce8512b0a3df0bd822ef711a |
|
BLAKE2b-256 | 99ce4d488ecb989aebb0b3244820954f8e5981919d758f740ca8c3c1e21ca26b |
Close
Hashes for cdk_lambda_layer_curl-2.0.218-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee8e1cf5c01f0b77443f60c59a6c39a0cd38245757acbefc5aa41b9210acbcad |
|
MD5 | d473a5f000f9eb0b241e087b3077ecb1 |
|
BLAKE2b-256 | eaa545f26358050b47ce16d8367b5745e69c4fbef889ade37437779374b0d3fd |