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.768.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fd88530137012de105dc4c41ddf3a724db9eb684b70b8fc842ef8926984b39b |
|
MD5 | 5e974c57399a57c000d1217e65bebdad |
|
BLAKE2b-256 | 69976d1bef0ec1bd9cca00d409266b1bbcaa561f2f4a08535482b1a131fa464c |
Close
Hashes for cdk_lambda_layer_curl-1.0.768-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 334d1957030b54bb4eadef2fbc4010257ffdc30ccb9fcc85d22c98acea071f1b |
|
MD5 | 1c306c2511f3a6d6a1c728fa4ba39b4e |
|
BLAKE2b-256 | 597fdeccc99f0cafa2e22c933bf91cd57c021d7c0ebe377e5b9b19208b83a0ec |