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.62.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b00460d60c3d3e28f47f898acfe878865921bd5803b3fb8adc394fbb632cb24 |
|
MD5 | e07d40768efb77fe56bb24c9acd6540d |
|
BLAKE2b-256 | 90b5f050c5fbe2d3d5c981b2f81da1ef46571228df46c4ff8ecfa76712610039 |
Close
Hashes for cdk_lambda_layer_curl-2.0.62-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ab392e6b85cb565df9837b14e9cde5bb4ba9ec4423a4ea16abb8c7e01a4cf4b |
|
MD5 | c2f5b9d4dbff5ab3c84cdbfab895420c |
|
BLAKE2b-256 | 4de35547aa3cd15133bf07468d9a0da7b8a3a9ba79f3b95fcf91021faf035b0b |