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.765.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bd316cc9dcdc82ece0e4fa6b1933edff26ca31e4e41e11dc580e1937af141f8 |
|
MD5 | 2852d177ae6194bef80f320908b389a8 |
|
BLAKE2b-256 | cf1d46dcf51bda4ab94284a79a8e7a9616ba87f975a51928683edde96a84c075 |
Close
Hashes for cdk_lambda_layer_curl-1.0.765-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8c156e51bf2e56cfafb551590aa22cba5ff44e9321a92491d36a3e43c7ae131 |
|
MD5 | 534bad393f2bb99499b9b61be710d22f |
|
BLAKE2b-256 | bf205a6f6d389d103281ca3579d4b763304eb285b08defd079308342e7430395 |