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.312.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0908f5b06a44c258d16168884a1f5eb75a1b70d89b9310d0ebbe6982b04e831c |
|
MD5 | 2ec2832f609775ab50682b645aa49f3b |
|
BLAKE2b-256 | 3b67ab1afd2856e0efa5743f336e2bf9ba4e8e186974cbc97ff4cebd8250328b |
Close
Hashes for cdk_lambda_layer_curl-2.0.312-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6d6b60a400890f3e06867cb618808876d6ae5195ff98e6b6a5fb87c754ddd45 |
|
MD5 | 43217cb521ec145d3eb54bfa104e8bbc |
|
BLAKE2b-256 | f6a961ce7448bc0f2ee1e78471d7425555034ebc532502a3f65200e84e180c4e |