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.524.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ee616ccc3cdd8f1721cdbbbb098f55546cb50838751850633776060a0a9a75c |
|
MD5 | daf9365efa2f4e6a9f1a2298209b2867 |
|
BLAKE2b-256 | 6dd41e6ad2ff4630ea58818f33f44fcaad9cd0d883f3d8796551fa0ebc801bef |
Close
Hashes for cdk_lambda_layer_curl-2.0.524-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 292ce62ce1c8b780ff534050fee0f125c0ba68d2afb326f6577e7ec7610f11bc |
|
MD5 | a79b00f42d6e8c46e4aa44089acb7c64 |
|
BLAKE2b-256 | df6055ecab39dd48ca432197d12a4fdbf4c0e0d64da3d8fd3301728e39f530f0 |