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.465.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e802cf5fe2a3f41fb7d963c74b5fb381b87643a6933e28b84c9ca5cd7f6c7718 |
|
MD5 | bb0aa214d263c440ec29c416c268465e |
|
BLAKE2b-256 | 7b864e27244aecaa00015026a67a8b52f1cccc58436b66d8d4fa44497e8d55fb |
Close
Hashes for cdk_lambda_layer_curl-1.0.465-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf9e64c9bca9271cae8dfa0c3109916476c2ddaa99c6e8df212170cb63612eb7 |
|
MD5 | 102797c3735f6c45a0704ded27d972f9 |
|
BLAKE2b-256 | 73ee1e0826f4bcf28fbc158dacded73c4d3387c0233c9a76e85341b0d958d69e |