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.84.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84e2e793774803bebeee4fdbeaac5f0c9d742113caa09b9b52ba2424cd2e238e |
|
MD5 | 33245df7467d20e30b781beef7013321 |
|
BLAKE2b-256 | 9c825a5a3506fc4fafa828d5b09748b3b7801cc791f33fdf9540c0afc57b0642 |
Close
Hashes for cdk_lambda_layer_curl-2.0.84-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f873204d65c0fcb339be3d922505ec4259e14dd064fcee4eee2c2a4df0e1de5 |
|
MD5 | 03296f3980e041b9c217ea0542535913 |
|
BLAKE2b-256 | 57501bec848a6ee456f9454f2042749303bc3398df80fde4b5f872a5edbe2a8d |