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.440.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f335491e3c8d8d6fe952466267b68cc3bc1fb508b26ac67e2dba74be8cc76075 |
|
MD5 | 4f95057166e33889a54fc0838292965b |
|
BLAKE2b-256 | fae133dea5073423baefeac5de2b8855e050fc321a3b03fa1f2e317185858b50 |
Close
Hashes for cdk_lambda_layer_curl-2.0.440-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 190dfc2cbbf28bcef3f0e4fed1c3b0474f5e425eb52757a7ce80628625c24d54 |
|
MD5 | 97200605bbfb8a8f9d2b5a446ed3c2fa |
|
BLAKE2b-256 | 98363d5f5cee8e061e070e9b82f32980d0eced1c1af6e39d4de1759a2bf1430d |