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.654.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0bc5a33c00b9a0c0da59ad10f0d3daf01883f31ee681df674360a0115fecfb7 |
|
MD5 | ff3911ec60cb208376c72ab2da209637 |
|
BLAKE2b-256 | 9e0ffec228e566534bb361d33dc272d506336b09017a4f5e1e53d94670a54cc3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.654-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eccc5b57b457c628bcdde3e9d5834f4e3e73b847cb212bd3854cca45a073115 |
|
MD5 | 706bd30c989cdec25b1a2a817aa733f4 |
|
BLAKE2b-256 | 0c8df55a22224d5baba247c62101ecbd0a1e3d8e3a99b0f9074ab91be41a8cd5 |