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.322.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99783c4ee04077d349b60ad4229dceed657bdd4d185968adc390827d0f623a54 |
|
MD5 | 948447032b9a672b71c0bde1a099ec8e |
|
BLAKE2b-256 | bcc52d0b65a445eb1aaec42b3b30e78f9ba6c2be0e4e2c0eeb2ec69438c48812 |
Close
Hashes for cdk_lambda_layer_curl-1.0.322-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 320d44644ea0c3f6935deed7d3f9b2db2b2cb0fbdad7f3b388a6f5396afe7024 |
|
MD5 | da2613cc841f24c2fa5b98f506484ed4 |
|
BLAKE2b-256 | 39951df1598eed0e5b9ac6d05f25076d02ebfb2f94076498fa5f9e01261cf215 |