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.669.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61a5c8f8a9d650c603e39bf756a6ac9350f990aa467ba48676d337d2971c30c5 |
|
MD5 | 3bc1fddcfcd78fbc95b95a3194e39762 |
|
BLAKE2b-256 | 5ab0d6ec84ce93bc1d4f66ebb33becca82fd8ea08f49dca7310297c84c2ea794 |
Close
Hashes for cdk_lambda_layer_curl-1.0.669-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c64b98ed6b3353675a48f6e432bc4573274d1f80a301c17e637ad1bf8b106a9e |
|
MD5 | 9f61de6d75657284b26bcee80474d8a1 |
|
BLAKE2b-256 | ada18d6f0857a4241b7bc0c7cd90a3a04451f33805dc77ba09d18c09b88a9681 |