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.510.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 630851778d052ce38ccf8188b20a1a7d5464f149542c6e7058cb738af9af37b3 |
|
MD5 | f4c5f7bc34ffdf0dada47bbdefa04bad |
|
BLAKE2b-256 | 0cf30b854b0d3650bc9a2e1e7751c81a5c9a40e572dd565274a543ba6bddde06 |
Close
Hashes for cdk_lambda_layer_curl-1.0.510-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41d865a6c36cc05af3ad4ac03cdce2961708eb03ea94e4443b37b9ded2de346b |
|
MD5 | 81bfa6a8d18d6c32180cadeab01a4f6d |
|
BLAKE2b-256 | a6b9798dc48958258c2f01629c567b6f25f0f0cf25f8ac91313684fd0d552a79 |