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.796.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0e09b950b8fefe4cfbddd375d3d196bff48cb1c5b7c40b138c261b960667311 |
|
MD5 | fe03b72bc78cfde91762b8eb56694535 |
|
BLAKE2b-256 | 9835b87e54fb6a751856efc971dcff30a49d9f41bfb20777212c9b20ffddde5c |
Close
Hashes for cdk_lambda_layer_curl-1.0.796-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74e231f280acc662172ecc7074495d61b29ce07d5eff6ba42fb3238583f19e1b |
|
MD5 | 90d551468e3682be4b8bd3d3e8543bee |
|
BLAKE2b-256 | d355ab5bc913d0e8e390ea89c03780cd2580975b1c02191aff8c11ea1591fd45 |