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.572.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e890c870e7a78734ac7485b1c890b0441ef475b6dd5d8e3667a810b4a5034aef |
|
MD5 | e283b4a3dc45e60efe71e9af5c08d127 |
|
BLAKE2b-256 | bf8971bb534a63be8da1b80bc7adde9947ade17680b3a5d1c0e8a898e9e70945 |
Close
Hashes for cdk_lambda_layer_curl-1.0.572-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2b254bbb70eb7bbf7c1fe60e1b25e0dd288c430feea1003437a8edbf9f0608c |
|
MD5 | 786ba7b59335e51945e8b3facc9ca150 |
|
BLAKE2b-256 | b006278c2b295e32ae01a5a12fdbb45e20b9347c229061fd5f92bd805fde6ece |