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.385.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 733ee8a8ff842c41127b3c41af2572b15c08c0b0aecf15aa65a9349368434e05 |
|
MD5 | 55471b29be64cc49015ace49b4679fcb |
|
BLAKE2b-256 | 9937fb7fd77db130989c94c191a9dd694637f23b7381fca0aa189f1900357b86 |
Close
Hashes for cdk_lambda_layer_curl-1.0.385-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cea4f8b79ce0ed41e7cd0e752ba5f6c1f74d129e1fed40a00f2f4fe448b854f |
|
MD5 | a4659945a4ac659fd9ee092d1ae70c35 |
|
BLAKE2b-256 | 1e65af9558fedae84f0e60c7b108b6ef746a6946090efcf330eb03ce2c70b38d |