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.624.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a96e3235dca4c7053ac9d06c98bf7dda7a05308efd50c528d27c25c1e80e0cb5 |
|
MD5 | eeb8d99c388e13c19d0afe34988511af |
|
BLAKE2b-256 | e62c3dfdc3b81105999e69c09daf950cb5c9cae50dd238a0eb45c3e7349bff21 |
Close
Hashes for cdk_lambda_layer_curl-2.0.624-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca5451163348db50a39f25d5d75455515047264175e332aa3e6d64ff20319b94 |
|
MD5 | deda464663374f316188a07f82e5ca8d |
|
BLAKE2b-256 | 74aec1a33b0a6cb0ca48233d255844631982ab279a66913cf5844adbd718b6ab |