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.615.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72a1aedf420ad19e3c8cb4bb478407498ded74b6c0e4096d6cfaea9bc52909fb |
|
MD5 | 8bc7e8683d9ac2334da32d1b2f07ce17 |
|
BLAKE2b-256 | 48a184fdc5536ce1bd1499a7c4774813d68901dbc2adca81d4f9b1216c80303b |
Close
Hashes for cdk_lambda_layer_curl-1.0.615-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55a2abfd033686d21d303ce072e3fb98ca19bc558efab524d2bb477c9a5a311c |
|
MD5 | 126890079593e87f7da4cee8dca51031 |
|
BLAKE2b-256 | a47d872f3152ee1a8453e73a97f651485f2a231e188625e776499a2845858c07 |