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.211.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66e2d6d8024d198b9fafd09b4ff3ef7b0a37fa37db2eaefd953ec07eef91d8b6 |
|
MD5 | 79669a7ff1de150a4c3d60f8be9d9f6f |
|
BLAKE2b-256 | aa83073fdfb6b703d9e45046fe71499e8897155547bd69a3d249a051989987f2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.211-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a20411a40c9f5d7d7fadbbd9d8d968279acf2c9d3818535a5f96f08e60abcad0 |
|
MD5 | ca753569630525f2d4405f878422da30 |
|
BLAKE2b-256 | 7131b06675912c52f7887eb3aa8199fd0618f36a69433ae7e1391957d83ce829 |