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.351.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc818e300568c0b4d3cc5ef5a76113fe042c126cc1604da2634676b602d1173f |
|
MD5 | 1594ab80b31110e3c2e8da747900b3f7 |
|
BLAKE2b-256 | 816dc4cf9dcce46d532e7e9e4a9dcf389148d8cf5232a834d346ecde7c72dee1 |
Close
Hashes for cdk_lambda_layer_curl-2.0.351-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12f9461cefbf8541195a6c4c46c867da325ac3ecea9ea3eaeef705b49a1b4345 |
|
MD5 | dd05bec6edfa23114622aaf733c817e8 |
|
BLAKE2b-256 | 1f9f0284aa035e999244d094d31aa1a30f764bc554a180b664faf24de8c653a4 |