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.93.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bdfca87f46707246dcc9293880823da08a09d1c650f7aecdfd9410a640e6942 |
|
MD5 | 5b3f8c84ad0151638a6624e9b5bb1c19 |
|
BLAKE2b-256 | 80c5f9635ea8e36a3e719c1ca38f716e74717ad0219694d2924df401f52a8dc0 |
Close
Hashes for cdk_lambda_layer_curl-1.0.93-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f289f39729dec74e1a11753e203144322c706626dbf965d90191a8a37962ce8 |
|
MD5 | ab85c38c06ba14a1b255eb6c0d570760 |
|
BLAKE2b-256 | 785d3773fdcfaeb8bc162d4acd5781331fe756e152c3187b472bad2e2f644f5d |