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.276.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d6b1c0123e3381af649ba421e9e98bcdd397ca5db5634f145305e98528fc9b0 |
|
MD5 | 6ddbdb65cd96d1f51f2056770e219b06 |
|
BLAKE2b-256 | a9268281198a15a003c2725f785990eab2ede0bc6fc1349d63e46d3dd4662641 |
Close
Hashes for cdk_lambda_layer_curl-2.0.276-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 823621a1e62f0dbb28ee2bb11150f751c681b90e7ad53049c0332be04eaf4aaa |
|
MD5 | 924ae6f9bc4b4fde7c101d6fab52d4d2 |
|
BLAKE2b-256 | 7eed957f5841622a6efd2ba90e38eef2392fb4958e52aa86ee963bfa9809f7ff |