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.745.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3739139a007dad3a752a2c74f7a9de4c7fa7932d9a3420126b75df6c44b9f331 |
|
MD5 | 4dd91ac22806d6f34a3326055d0753dd |
|
BLAKE2b-256 | 6eef39062a704be99cbb49bbc1709419be2635e4d59ef8a2f6f714989e66b830 |
Close
Hashes for cdk_lambda_layer_curl-2.0.745-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc03c0b604d68e318f8190ed8cf7433f1cf2f064d23ca6a370b3a5d55b828f77 |
|
MD5 | f6adfe3e9888465c3372cf8d2da5a859 |
|
BLAKE2b-256 | 49f8f87fabdb5cf2e616cbdd745bd003240b5785ba67180636ba4d713b73ff8e |