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.404.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63f6c362d8114642c8e53ac5268ae2f0261942007a60a5d30b9af60b91657044 |
|
MD5 | e1359132a07cda8ff6c33dd25fa427d5 |
|
BLAKE2b-256 | 9b2634e1a8a9f5c5dd293b812fc004154d5e7c0ba1b0adc40f47d9f45b1d7fcb |
Close
Hashes for cdk_lambda_layer_curl-2.0.404-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d3fb8f9c129f8771fb4448b46dcf195b6b1f1fc7435764ac7ce5b25b4fb2beb |
|
MD5 | 38ea6fd8806d641e1d690c3f5712dea8 |
|
BLAKE2b-256 | 56ca75ddd1e7ca73d7fdf5b7a71dbdc0f629c70d87818cd6ece98218a1bd14e9 |