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.693.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2efa1cb81a8812cb1a37cdfa4e0a6f52c72f9eec5eedb69bfe1a7f30f6a8410c |
|
MD5 | 8cbb6e83e83a9622a43847fc06c447b2 |
|
BLAKE2b-256 | 5826adec98a3db0bb77ddcf5b75cc7a6dd62c6698407944914d270d42813963d |
Close
Hashes for cdk_lambda_layer_curl-2.0.693-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 643661c64b064dd98ae89c57cadad8739271ea00e26deaaae12c5aed9f906254 |
|
MD5 | 325890af2ee11a9e3efcf07247f16dfb |
|
BLAKE2b-256 | 3f978eb770dc42491b7400886580a22e0e506c6e3744e6b25255ae9fd7888087 |