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.147.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1a997fb3d8d9786471130e0c43c80fcc255b10c28643ad3d318e3f67bbec3cb |
|
MD5 | da328520c538b26932d48977c57551ac |
|
BLAKE2b-256 | fe360e9411625f8215f9b7890f028e33df5f2640a9b761692fe311734a8b418f |
Close
Hashes for cdk_lambda_layer_curl-1.0.147-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3104048c32d779e735ef032eaba8f996a226b93c0c0c0cc33ea09a01dadd7450 |
|
MD5 | 0384137ad7c9f5c7360c0f6ca05cbc86 |
|
BLAKE2b-256 | 2dc4966190e416340fa6ad63b1b18baa0be199a41880e70fc4d1c53f9ed1329e |