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.268.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6ce49ad0e0b8a7b6efc391658dcbfbedca7a8c0191c88f515d4291c6d736fdf |
|
MD5 | 1d3dfc3bb4b643ba994fef68d4e0df95 |
|
BLAKE2b-256 | 99059e9e8edde37d668760ad6bc891828937d49a12607e98df8a263e95471c68 |
Close
Hashes for cdk_lambda_layer_curl-2.0.268-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 000be6bc66a0e414f7ae20973899826990caea8bf8d2b2d53c960649f9fdc794 |
|
MD5 | 3876d0b6d9a03f78dc50c2a001ee7132 |
|
BLAKE2b-256 | b44620bb73b4cac8930dacdda74f528923b75b7a17469f8097084935800ea4f8 |