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.807.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 423375b4f837e4ba0277a0e38c3ba9ed726c2e98a7567735f9df21976b252fc9 |
|
MD5 | 2b12d9b5be973a35ca03b22921de9f17 |
|
BLAKE2b-256 | 314461cd25c69c42876f271616c6f8e4f337dcbe18f695759b32dec099258981 |
Close
Hashes for cdk_lambda_layer_curl-2.0.807-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e192e9cbec5c8eec2417920e8333a61dbbd018e459bf5f8bfd6ae8427984aa4f |
|
MD5 | 6f4879772c962c326c44fa5aa9fcb99c |
|
BLAKE2b-256 | 974b25231a1674a3a637c96c8717f85ff06d7fb7e1c5a788a52f1317c6fd2fa8 |