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.487.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01a28602ee91804355d1f0ccde5155e7670475dd3fd19918c34040acaf59fc3d |
|
MD5 | 534e2cce99fe64c02bb0b18b462d2f01 |
|
BLAKE2b-256 | f3918e850ef3e412dbe435fdd77d0fb22fdfd041dfca96ef63a2894f137c66ed |
Close
Hashes for cdk_lambda_layer_curl-1.0.487-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0e3d6d9f3b44c3e4a003fa03db87b6c326d409ed35a5f6405b11dab9d4a65e3 |
|
MD5 | 076296606f90b92cca041a11bc91c0ca |
|
BLAKE2b-256 | a7bee018acbf3e4cec9a3e6dd05ae4207171c440ae2cf0e7c5620c9e09ba5c52 |