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.419.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69315ab5d437a637240059e9fd595c33a9c67e7a7f291e2e2a06f2bdbe128530 |
|
MD5 | 39afa2869748aa68fe8f9ebe76aa001d |
|
BLAKE2b-256 | 89e3979da1b85e4cc2da8bd297af89956aa938201df1bd1825d7663289af0c43 |
Close
Hashes for cdk_lambda_layer_curl-1.0.419-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1b906e1b24039ea057ec464f9d10cdb25d8c684f1a6b4d8bc79227b41784fbe |
|
MD5 | 0dc450bc5df785cecc11b75af3f57ea0 |
|
BLAKE2b-256 | f15b37a2fea4d5deec00686ddd50d4100d3ded5ba44214a5df048502fe91187c |