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.78.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c656c6dfbd3a64c08af9836cf85bff7d6bee620780e312323694e5aca1d09729 |
|
MD5 | 742a1716c5837f126d012a7274706299 |
|
BLAKE2b-256 | 5d98ad72081c3120a1b31e480b9191f570aa63cd2b7e37a898a38ae03f014a68 |
Close
Hashes for cdk_lambda_layer_curl-2.0.78-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dad5f2a69568828c3f689bd6601a4cc1d8d0de79d3ddb03f58f4eb2ed50c7d0f |
|
MD5 | 3411dffaad4981c7307b8a0b75fb95cb |
|
BLAKE2b-256 | c14a6fc6f07afbc3395f989f30428f10e0df046fc33b4f7938b5aa862517bec0 |