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.448.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 146ec1037d9ae505a177b53d5c3d4a739d63b43265499d784df43c44d63591cf |
|
MD5 | 7cb19ddcce6c833aff6bdb7568a730e3 |
|
BLAKE2b-256 | 6679271630ac524e35ef0241ef1e7bcd32d12702c18c57f1c28d73b70c84d324 |
Close
Hashes for cdk_lambda_layer_curl-2.0.448-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2149a47036df044478e1a539f687edba68982e2627ce871ec6eee0b9c6a0ce8 |
|
MD5 | 63a49594bbb321694b3716df4193cb0a |
|
BLAKE2b-256 | 0ef611b2d6fdcd2fe0e0e3b2d6c3e293de76972fdf2ebd234d389992efa8a951 |