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.667.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 399064a8f0fb14528b2dd36de9fc2aa227bd2c605269fb8c6c03fcc0e56c4293 |
|
MD5 | 753f69a5294cb23c37a634263da6c8ef |
|
BLAKE2b-256 | bd66ea20d1009050e1c1ef2006dc6420631b891f9ad4760e75df6d57aaf2327d |
Close
Hashes for cdk_lambda_layer_curl-2.0.667-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 564b5629ff5163d8d5d7cb7153f47c54485b5a703859eb5e76987773664258ee |
|
MD5 | 7faa1b9c863f6136972d01f1de7c7d11 |
|
BLAKE2b-256 | d3e023bd018e28bd8b7a2e9cc2da320106e2ef310b7adee8ee234abbcaa88c19 |