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.299.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 779f4f7f175195a5b953a3e960678d24729a0708eb7973ddf70f8066fbba6844 |
|
MD5 | 32c01ebef210d93fba497ebe7a4b9006 |
|
BLAKE2b-256 | 20c4bf9689cb7a6fc40731e7db96d74b8ae77fac47f2b44607bf710e281c9578 |
Close
Hashes for cdk_lambda_layer_curl-1.0.299-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ffae0ed0813833015d040bf13dd5e3b82a1e7f8dd7fde8688fbc45719ffae03 |
|
MD5 | 3be0ab0eb982f8fe2ce7a4b1a0e656c5 |
|
BLAKE2b-256 | 61e2a4396413a44e1e27245899e6e93af781532fc08a76b269c43a0db3e2666c |