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.24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 666bae4dd1591c7ea4b2d82e838231b5c6cb2332c7d52824704d64fe0292722a |
|
MD5 | 3354331ceabb5afe2e778d7a9e480b8c |
|
BLAKE2b-256 | 4d0a84d913e25b07e25966a4cf86a78812607c31b2f0d60260208b9544792eb9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee09b11686e35847d905d1f7fef67b003d13bc7b9c935aa6f309755e4e03fb02 |
|
MD5 | d86337acc610c13d76048d355305b58b |
|
BLAKE2b-256 | 18c6465bc192c1e8f1f8a3d76ea8b9fe1d3de2f8123a936965a376a4026a3d3f |