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.333.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80cdc6644537c3fbe2e68e8c6b98c049f26632473fd01d3a7f7a6b9786f862e9 |
|
MD5 | 56522f2e8237c19ed5bdfdf348d91936 |
|
BLAKE2b-256 | 9730cec355162fdd47eec894c78f34b37d5c19cbf5f15388da1c4b53a73d0f83 |
Close
Hashes for cdk_lambda_layer_curl-2.0.333-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8cf0d82c858b17c5745b3ec15b3429bc0c812afab44f83f580810c36953a634 |
|
MD5 | 898b67b3f363c8454c60e22571a9ab8e |
|
BLAKE2b-256 | e76059b4b5d9be0025720c6662a8699d612c358a542398d39048ae794d9dce4a |