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.29.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd7e647d154aaf1e1600aedc242f9a3e665e56de735cc9c01134cd93e9cd7e44 |
|
MD5 | e2dae582a75779d487acb27313b94b12 |
|
BLAKE2b-256 | 44a694b1a89a3d1cb7166d4ff5626173b3ff4cac81ff284c2c72917af4664d51 |
Close
Hashes for cdk_lambda_layer_curl-2.0.29-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 760dffb0403569e00b277f187df2346461322f73c2f4bf729857ced44cd4657a |
|
MD5 | b8491f36b280116bfbd1d1901868d517 |
|
BLAKE2b-256 | 1f2752b874f261e5844923dd3b80b010eeb6a743849f1bc9841f75059e057dfd |