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.673.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0f5f9e06fc58258954a90cc4108ad7def11264c40a656ff2d9f6305e6d1188e |
|
MD5 | 842948501bbed188c0a160d0c05fcd69 |
|
BLAKE2b-256 | 1a8bbd355134bc7adfd7b4e39191b8c3554cef63cfd53275f7574468ff588a6a |
Close
Hashes for cdk_lambda_layer_curl-1.0.673-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66ed0cc40564cb962388d6d072809bd7f9871b409cba3666e0660e3d9936a922 |
|
MD5 | 2cec6416736cfe7b61e9c0f1e94888f1 |
|
BLAKE2b-256 | 9eac18fd27337158597aec1d7a8c4173e29152225d5f9c3cf7e487d38c136b51 |