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.178.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b08fdb23a20e3502622c4f008c8de834808dc0cea2b93a6e2434ed27978b6fc3 |
|
MD5 | e9c9bca4ba24336fbd2e7252bf520303 |
|
BLAKE2b-256 | a4bd432a5cc56abd074b5f73b7adc2512715b47e6577eed2f91076fa2b2fb096 |
Close
Hashes for cdk_lambda_layer_curl-1.0.178-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea279b4d9ed61b44b160cb7bc700c1687abd9650f5a4981fdff56f536d5ed025 |
|
MD5 | 43fd3023fb898b82e6b4a95e33c09d80 |
|
BLAKE2b-256 | ffd5a3432ec9f5dcf744499275fdc42ff698748094116e9921a29bf395474345 |