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.221.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fa0c3fc0ecaf2a8043f649d2a4b316856beb24dca4366564f01fd0235215ee8 |
|
MD5 | f4e08ad7bfce958365efa21f3dd294da |
|
BLAKE2b-256 | 20a529cca261d5626d786c903e345d2d0985f4764a74995e71f5028d0a9cd5b3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.221-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15f16d9f99d5694d6076761258229c857c1def106fa4b81fc1b0fc226cbfe299 |
|
MD5 | 8321a3dad5102c412ae7284180c94d9b |
|
BLAKE2b-256 | 761afc457f92f7edc3dfa7e5c2b0720813026812d9fe13b112e076db80402c9d |