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.638.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18da05dad9bbc64ab7c4788a7918c2c4da546c940960431d130247764431176d |
|
MD5 | f7dc1f4ab2c51a7ad3cdc8f5da0bd61b |
|
BLAKE2b-256 | 0a929cc38aadb721dfc7b8dae8ea6d0188c8442bf7d6798ce4bd8f1c4b47eaa2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.638-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a9414c296424b02e4783e4fc8f9c8b143dc589c2686034128efc06244ed2a25 |
|
MD5 | 855f077b0b30252498484231535f0cee |
|
BLAKE2b-256 | 51174dfb58fcfc05b3889a43c68315d7affd6042631cb0e539cfc9d42fe07a0e |