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.791.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 401cdabc7664e242ac56eea7a753afef23b3f807259204baa1189f4fd14801b3 |
|
MD5 | be3572ba868e49b3fc2dc9524dc8ce3b |
|
BLAKE2b-256 | 6e489c39763d0d329aba491b69bf412c62c55a92b6e436155e50912f9f17cfb0 |
Close
Hashes for cdk_lambda_layer_curl-1.0.791-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf743c54890262fa7b956d5ccf830a8d2118df6f8e4218ee93d06f521edd71ed |
|
MD5 | b6d78f2613d8977b24751460d4b8ac12 |
|
BLAKE2b-256 | 6b4e925352e0ca25ae07711b57c8804e1cab3e4c923aa85dd49d299d31b48ce1 |