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.417.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58409cd0e816b3d94b09e4a3966a775b2944f58b5bcf3a820ba1a0daa2a582b1 |
|
MD5 | f54dd30dbb615742325fbf22c5103b97 |
|
BLAKE2b-256 | 691e3495e912a02f1440f152fe3621dbaab581be8724e75769eb82752553a265 |
Close
Hashes for cdk_lambda_layer_curl-1.0.417-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c56f5f3462fe4e72f0c80c01990b75e4c4a3e538999cd609915981326c72e859 |
|
MD5 | 14c87282e90bff761cca251d81033602 |
|
BLAKE2b-256 | 2baf5ba95b675acce4399be5ac5b9fc35544aac7149120026ab979dc75a3209c |