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-2.0.742.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15902ec5e7f8e4a0b03bed36358bfe08d22787acb26b2c1b4bf7b7e8746bc87c |
|
MD5 | e1486df709b170213f464392e7f4e2bd |
|
BLAKE2b-256 | 9a9feb7d259a3b5b3637256e7bb2eb5139e084d2e2bed581b0e4ded9cec45314 |
Close
Hashes for cdk_lambda_layer_curl-2.0.742-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe634e5b82ccdbeca7b0aa5cf1d78d91794e9b1448bfcf4a2ddebbc10e3f2618 |
|
MD5 | c3c43576794dd5f079cd0f8c0fab5450 |
|
BLAKE2b-256 | b29940498229c5101f32fbe6915c0a3babfa1e3ab411a3493cef6757cf70f7aa |