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-2.0.368.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1067197481710df56519c2dff16ef0a2f638d6b163c6d7825c5855e1bad92b1 |
|
MD5 | 6264d57bceb955790362b7f5bff13cb2 |
|
BLAKE2b-256 | 4d5bce5790e2e2479ddbb81f0eacd492375e47e3391c714ea5f9e3973e1dc6b8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.368-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00d085f44b5b45a67e9f5dc03dc497c573c3a52a430889870457ae49fd2b68ce |
|
MD5 | ffdb3f967d4394ec997262e47ca4723c |
|
BLAKE2b-256 | 04169b8bafe1779b36c9049ccf66969da5f42172fff6f498529d97149929aece |