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.155.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0894933a9b2122a9a2ea95090536097f4aa016f24b7c807bbf5c1d88d76221d |
|
MD5 | 4afaca4be4346e3d2b375ffaa2633b0f |
|
BLAKE2b-256 | 11f735e841a19537038181f2569df7b56206ae34d226b138777dd8e55b2971de |
Close
Hashes for cdk_lambda_layer_curl-2.0.155-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3981a03844fdace0ce58ed39de0595e8fae90f2fbb81c251edb68ab8b0c3c0e5 |
|
MD5 | 64cfd7b82ebae0d8225421641cf2621d |
|
BLAKE2b-256 | 9a12c034714df13fbeae41ed7a3ff5054d4d2d1487a78b57a9baec22355205bd |