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.483.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 186bf0d735905125aa38d171a98f5c39c203949042971a49e386891a9bbc7ec3 |
|
MD5 | 277b1a6c61ea70eccaaa66a2df0bc559 |
|
BLAKE2b-256 | 915ecb1f7c7bb16e4474d408c77e709d386f8aeb0abfac0e838e664292ac4f4e |
Close
Hashes for cdk_lambda_layer_curl-2.0.483-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de44f7d3498104d1cfe93801eefa4db2c895c18206f0e19aff46a7ee81234ead |
|
MD5 | a97d63980c61b3a1aa22466e92832dac |
|
BLAKE2b-256 | 5d220121fc60deaa8a95f8e51f772131f6bceabad771e61613028aeb2456b2ca |