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.382.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07ed416aebb0355094294e0575ffd7f7ff4aed8c829b4ee453ac9ed904b1351e |
|
MD5 | 1483921f022f7810001fe4b4006b6613 |
|
BLAKE2b-256 | b3cfb51877b988d31d0c8cd0bf00c8cfa7d67fcf42fa2276ef5030a714c1cb74 |
Close
Hashes for cdk_lambda_layer_curl-1.0.382-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03764abff45a4770a45625763a2fb3a51e9c151a304d994a0029bba33a5d2238 |
|
MD5 | e844963f3a713e62df1bc4d8ec5f1197 |
|
BLAKE2b-256 | 1ecdcf5200d649e48fc12234f76737991d2abe651fa1f351397fabaf19ef3944 |