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.702.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 496e23c75f75746776fc96990bbe23e12a7a11689fe6c516880640fde2fad3c5 |
|
MD5 | 4fb53c2af08d3c423654e92586a9ee20 |
|
BLAKE2b-256 | 487a29cb28b32447301ffdb68b1f6530080a92a2bc802a005542a721cc26609e |
Close
Hashes for cdk_lambda_layer_curl-1.0.702-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87c8c828d6542e3117ddfb312ca5c86119d8e8112c584d2ac8162334739813dd |
|
MD5 | 83acf71299a4308267f79b98b2de3289 |
|
BLAKE2b-256 | 3c4bf74b99f601671952f793dc242f0d7935af505649504e7d929ba61e177049 |