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.260.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9099f69743314c97c44d4e159f1e3bfe7050290f92fc449f2b2b050c27dd0452 |
|
MD5 | fe6aa3edfdaf0cec8fd36ae07016aab0 |
|
BLAKE2b-256 | 53d8cd0ca690bc9b1440bb51420026d9fe2205e1b8ffb69826f0a2ffa003f05d |
Close
Hashes for cdk_lambda_layer_curl-1.0.260-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3be21e28a94ab66510648b4ced6b5e6a6c3dfe9c0dc92bafea779acc74a15c9a |
|
MD5 | 8814573a96002129178281ad05650392 |
|
BLAKE2b-256 | 00d4e1d59911592332b5afbd078b903eaacb9cf9172edc3ca9c5d8db343cd787 |