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.323.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebf8c6f72dd5b1b31d450ebe96a887f11a9fe973b57393e58c4b5a10bf871506 |
|
MD5 | f452b5ac075a5c3eeecf0afe3333deb9 |
|
BLAKE2b-256 | a617881ed5c24077bf6206982d8ab3ca47d242efc59adc582deb30828725a7ea |
Close
Hashes for cdk_lambda_layer_curl-1.0.323-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3498b57e87f50cb2cb0a3c541891bfcba15e92ce51364e549357d6dbba766cd |
|
MD5 | 06d9a56a78d1962a77904c71442a7d9c |
|
BLAKE2b-256 | 9ec0e6c1783142e4cf392032c8ab2b13858719823762d7f402df1e66ebcfd6fd |