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.600.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a91a7533f09a45093718cefecab916a827da7a21c501328cfa7542730765450 |
|
MD5 | 5cd7d9f77aec389dc5f3db6806d8ee25 |
|
BLAKE2b-256 | 3f16bd9548698445a4e3aa229bce02118d28fc6b886d727462a2d03f2b3a5c9d |
Close
Hashes for cdk_lambda_layer_curl-1.0.600-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d6c2da4ee4acd0c4b8264b4eb66397a53d96d84e1a111fc1d6d1f386742e68d |
|
MD5 | d0266262cd79267eb5b1b00d8d9d030a |
|
BLAKE2b-256 | 5b9a48d69abb7f5a17661cef4033ac1c977ab6e03193751edfbce74490d73e96 |