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.525.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 796305b963a74bd19a463e82824f891fd68e9e501c092c870a3be5b649562801 |
|
MD5 | 23df489d7cc4afa5f4be9211f0d0f6ef |
|
BLAKE2b-256 | aed7043530b4c330c8dc6a29f0d2d2256bd48f5aa8bc7c12e0e788fcf6645d29 |
Close
Hashes for cdk_lambda_layer_curl-2.0.525-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 475782fbb9f74fd56674fcd01414a3dde36fe616867953709c05d87bb1b12ace |
|
MD5 | d2bdc63983ea903b74685547df794fb4 |
|
BLAKE2b-256 | 96d95f84488edd4d8f77d7bdedb86ecf58652e30e7b407ba1cd6d6781de0e45f |