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.767.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7adce3cdb8da77395c33460f0489d42a43ef0a71937853be5e549f32beb8c4e3 |
|
MD5 | 29ee5b060fd3e417f17673bd44a480ce |
|
BLAKE2b-256 | 0e64d9d3c8d652396f6f7bec3ed201e807362b3cd8179c67991572ba06b34fec |
Close
Hashes for cdk_lambda_layer_curl-2.0.767-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4b943be360c99c0b749324bdbddcebd9326a8068303eb2f7f302d273b06a5cc |
|
MD5 | 5dc651dd02d4f4cbc9ef09214049a391 |
|
BLAKE2b-256 | 105abe48a70827fa268fbab5a169ab5aef94aadaf0693ebc180fb611e18a78b1 |