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.467.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12948c7221deecec30e3074fa362cbcd49fc29d9f6bbc181436aeeb071f557ce |
|
MD5 | 13db5c446ca1976825372ecbf9fbc21a |
|
BLAKE2b-256 | 095ce732e95c395c5027f410b3b8efc18e79ddd6f39a8c3ba322140561f02bc3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.467-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5669e90692d10ce01608ad4b7fecdb2c4105ca24ca4299c86291077a1e84de80 |
|
MD5 | b4a8a4b6ed5328a55434313bff277aa0 |
|
BLAKE2b-256 | a4e50873bc40526df42b38755a29e8e8861b9b241f7dbbe73d0ca1cd3fa5de5a |