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.244.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d25a8ebc226d18d3b918861370c694dc518bd749bbd5f565df269d15e95bf611 |
|
MD5 | b01f3826032edaeea8eb37e00301f460 |
|
BLAKE2b-256 | 88ecf630f27724b9563a5c6ceb13a8f5473b36efc19a05f2575032d6ff6e5f5d |
Close
Hashes for cdk_lambda_layer_curl-1.0.244-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc6064dd9f24453a172b13c28eaf3d4399fdab6b3409773220b129b1bae11c40 |
|
MD5 | 906e700006bd327d6267a52d15a4e898 |
|
BLAKE2b-256 | 7f63fba8d93d5da7e41c341a5b0e22574f2dd20ee7eae4f00b805f00abd52305 |