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.575.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72bb19f972af369321d41a68f816692a12a32ec06829ab172ec657910b59cb0f |
|
MD5 | db44cbcefb51e29942adb28f7699f25e |
|
BLAKE2b-256 | 0ee5dab5fedb5b831cf97d63dab291b2d46819f162f8f49977ec776939d65156 |
Close
Hashes for cdk_lambda_layer_curl-1.0.575-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98722fd6c74361b17818ad3882e3b2448f192000084623cde26a8ef7585afbca |
|
MD5 | d875ef8d2fe7adc056e12036c550a027 |
|
BLAKE2b-256 | a4f19d9e70577ba316de2d6c2a12f17f964699df266cbae8cc119c0b3ac555b0 |