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.454.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe5a504ed0f22a1524c50efeb86bee3edcebad89b19de1e247b1ad1cbd9183c8 |
|
MD5 | b4388e523149da4785722643a2a61aa9 |
|
BLAKE2b-256 | b7c7915dd04a615ce78cf048305e46ea9b805cc7a234cd297a92b7b4e1300da8 |
Close
Hashes for cdk_lambda_layer_curl-1.0.454-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25f87107ef63d82405853203b350262085ed9bf8171ba0cadca240a7bd9eaa36 |
|
MD5 | c0051c48e07c8c146abcf0f75e09ca46 |
|
BLAKE2b-256 | 39b32bde8d6f65bf4309aca4b9600c9740d9760fac7d2877ee0cb8860a5cc618 |