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.670.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97ea5be9b2e9b1b9cd6c83f4306609cf900df78bdbc7eae253afac1009481044 |
|
MD5 | 42f4a47e9c7775c6a2644b6cc80b5b21 |
|
BLAKE2b-256 | 97a572c68bd7106ec8bc9a3c654b768ffba3dc3aafcf1cd1552f71088944a3a0 |
Close
Hashes for cdk_lambda_layer_curl-1.0.670-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1f0a006ecf14bd0c8bb8be51e60b136ed0a601a8fc1b34f467c3bc62d168671 |
|
MD5 | d14b15dd2b2bc9aa98c5139ded7bbfe8 |
|
BLAKE2b-256 | b749964d3283bce1bcfeb4f95e3f1b3c6c54be2a03bb5b5a9ebfd32d60d1bd63 |