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.503.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 811cedb5ede623226269f0782a6002539b4b301d3b324bdc1663abbfb50f963d |
|
MD5 | 642a21658428b2403d5211c04b2aad7c |
|
BLAKE2b-256 | ea2ea19ea9dbf60f41b36fcb9ad2b0b38d2474a3746e84aa4d1b47dbe0a216fb |
Close
Hashes for cdk_lambda_layer_curl-1.0.503-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d57f722c380d30a57fe5864b1a0a4910ef1776ffb8f730b419a578e12f467af |
|
MD5 | 1a3550ac4327dca3b10d76681c9bcc8c |
|
BLAKE2b-256 | b7c4f8d849ebc1db5cae409e1e3e477b255d2b39dda7994f00da8f2338420a1c |