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.709.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bcec65121b0f7daf1d141f101544905033721d87d952aa624087a50ef960626 |
|
MD5 | ce47bde7bada3d75402d47fb9f3beb8c |
|
BLAKE2b-256 | 1a66e76e1ea01822be1fbba22d058548654f07656425bf058bb0b15f14e4b332 |
Close
Hashes for cdk_lambda_layer_curl-1.0.709-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 507418a1db540d7c18aa104c6af012817db4f64fc19d09322b2fb95d6e85cfd5 |
|
MD5 | 83d7a05eb1c28850454cb52ae9e79b57 |
|
BLAKE2b-256 | eceb6f2397fb982f882edf0cc2832cec80db6ddbac6dc6aba7ef1a3d35a6a438 |