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.489.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7440db68876ca1544f1660abc0ff073ba3e5f677e9d993127af344b188d32a59 |
|
MD5 | 55c5fa086491b4390a197a76ba5cf32a |
|
BLAKE2b-256 | 8528a8901903db8490a68b0180a7853383844985783a694f58a5a22f5578e5c2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.489-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6828dea5c310f438d68bc3af74173ceabb137d62f5fc78e272d6230b85eb052 |
|
MD5 | 6893712271bd04a3f91b3f977d041a71 |
|
BLAKE2b-256 | 95d788336b186cd27666cd06db1df018c1fccc54493c5c4e6c531c6be4b134f1 |