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.423.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57d466074a6c5121229aff4801f5f89fec9acff13ac4798ce2da594e51a6ede8 |
|
MD5 | 4458b08bfa324023c13db54c9c32d148 |
|
BLAKE2b-256 | a79205cf2c934e90af6748ab4ad91a2023b34f25755cada8da2b57a67de681e8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.423-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf8a09a5126341815bdc98c9f01bdc20d2140323ac6b782b36a807deedaea432 |
|
MD5 | 861efffe5ab3299c30c027c7d0dfe78c |
|
BLAKE2b-256 | 3dd22b750ea7446e4e23f425565af5f32e830816bc282efbed4b2a138c9994b1 |