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.707.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43f6bc901a654b7221a90a3aa0c41e603a286667cde0efe69fafeed2ecf3d687 |
|
MD5 | fa54e03e9078dd9f8e782da128de4c86 |
|
BLAKE2b-256 | d3d87c52548bb0d7bde3cb801d75b3b0a9735aeb3972ba20d785c5736b44c478 |
Close
Hashes for cdk_lambda_layer_curl-1.0.707-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 680919845948135ec3575e83b58be93f7a8035a64b776f4008df1e9fa88745ce |
|
MD5 | 249f2d16152cfe79843c6ff9bf65ad88 |
|
BLAKE2b-256 | 6d9890d2957c64caaca2d5366e5ea2e69b4c401a9b90a0275c4d922e35fc0030 |