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.240.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed6df391fb61901dcf2fa86b5ba673d221d494273bcdb79cb4d7eaa9cea1f710 |
|
MD5 | 82ed507e095e1efd2e1d977ec338c867 |
|
BLAKE2b-256 | 631801af943c5092e37c1f9646718d64552b684b0eba6531c439f9e7290e059e |
Close
Hashes for cdk_lambda_layer_curl-2.0.240-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eaf32bd7662dfb203fd780b294df288b5419cc50fb1aa69f2dbd1002e1d8494 |
|
MD5 | 37cf1a6d550585269a341a4c8d85866a |
|
BLAKE2b-256 | d75a17d7f624ab1c55c00bd89dfe1fea52a4523bd07eae61a310279b71f393f3 |