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-1.0.127.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5dee3286f8354893e02db25a823ec81b8fdec2ea25e5f6c6a4eeaefbd0987c2 |
|
MD5 | b14297cd56e582001826c8ab1b44bf72 |
|
BLAKE2b-256 | 7a808d0b52046df2ea7ff749715684ba8508bd601a20f16740d3c7a596db0063 |
Close
Hashes for cdk_lambda_layer_curl-1.0.127-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7076b03316431ac8ebfc96e985ba1d402a8ba0f4ab55d623282f1ee0517ade96 |
|
MD5 | 171b978799a377700d728d98bcb790cf |
|
BLAKE2b-256 | f418fa41eef69fc55a43f8fa591aa209919cda225f354e628e9cd39ad74b3e82 |