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.388.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30376053a29f11a35071725deb51c223ac313358450b7d5786c7adb9bc6df77d |
|
MD5 | 1335e7fa8c09698b8e76223a4ef6afb2 |
|
BLAKE2b-256 | 84b00fbc29788a7d7c98b7f4158f7a6f0165608b5318f5d8acf9cbf94f5c0533 |
Close
Hashes for cdk_lambda_layer_curl-1.0.388-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20e4cb5f2edda7cf4fdc7d05e68f995ce8ffc5c4811b4f2b2dfa9ff0bfedb82e |
|
MD5 | ff38bc2a77bfa3f5cf25132b4301f231 |
|
BLAKE2b-256 | e995b2fb7f5fcbe7e9294f19c8220c73dd385bee89ed65f692d31878ef16049d |