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.578.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c47aac0a60def1e15345963664cdef9c6970537ad5d859b40bc64e0c36b4f357 |
|
MD5 | cdaf058986fda417b1fe7004e631b9c1 |
|
BLAKE2b-256 | e5f9cc946b4aa782b1a23ff9158e198dae1d4cd51c6ba4c960113f29c0cd273e |
Close
Hashes for cdk_lambda_layer_curl-1.0.578-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbaf0ac4d178ef1968dd09fbdfa0ce6362648ef981c533a0f32c5c1b417916b4 |
|
MD5 | 739d3eb2ba7a1b870c8af94ff5bca30d |
|
BLAKE2b-256 | d8ab9ed7651c3a356616fc2498d76eb3efe8fc4bcc3961c8af1d3075a65edb99 |