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.190.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 852f57849cff759c196d7c8b586045d1fa1451c123124b2de4797300f54e3fd7 |
|
MD5 | 0ee65007a9d9bc09099fa057d4dd1882 |
|
BLAKE2b-256 | 6215ab2afe9c8bdbb207ca323fc1d8689db923ca688dcdc09bde648559b064d2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.190-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcd6117ecf756168e242b23d6b2f1ce2e740beb17ce69c4dbfe51c5fae9f01e9 |
|
MD5 | 5e43e622b95b01421232ad194f928c6f |
|
BLAKE2b-256 | 4f943b179278464020defac6529c1c42b7fc2d50d0d88c03ddf2bad5bfde27d6 |