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.644.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6ea6e03f56c9de42917db346e23eeeb2483ad171d21bf3afec3c7913da840df |
|
MD5 | 3f207eadeaef9222bfb0a1bf63ee11ae |
|
BLAKE2b-256 | d4572120502b08561a51cefa5499a0b7eea1342ec63535142fd7ec2e9c51181f |
Close
Hashes for cdk_lambda_layer_curl-2.0.644-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e26f5afe445ab3af0bf339207755ee60626abe4dffb932c7ff9ed79cc0a323cf |
|
MD5 | dec7a4f413e6ff8b29f8b26f7b9f3c71 |
|
BLAKE2b-256 | 01015198bc7e59a05a14efbe0dc76911849e9d5b8c22cd3f7c3e1370381a9f44 |