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.100.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68b149763c7fcd0817240e8723b3a50f8e772c6f21e87d4bc3215b9958248f8c |
|
MD5 | 014a2c9ac5a5fd1017dce2c9f965987a |
|
BLAKE2b-256 | 83e9c11a059aff6bf9002746e398d06740c52049fdec8be225f6f10c90343c3b |
Close
Hashes for cdk_lambda_layer_curl-1.0.100-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7b127f2177e55c7eb339cf99f8771af2fd3702b5b1435e35a4a7d6459776ab1 |
|
MD5 | d0d3b1dce44864b0d9c77f8d7011a261 |
|
BLAKE2b-256 | 1065b5c6ba89e3f18efd23a4f6dedefe06bf9357d528941e70081390270be1c8 |