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.584.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25a1e24577233b9052053ea93685651eeec1fbc86fac09fa212ab00cbf924ca6 |
|
MD5 | e39d2d2c58edee9df01ab6263587acff |
|
BLAKE2b-256 | acf1ed92b5b76e97ecc13dadb9744e66699f302ec3374fd506b6afdb33e09f91 |
Close
Hashes for cdk_lambda_layer_curl-2.0.584-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b29c568eb9edae91a6840022ddbd11a3ba4bd3ecd4ade897cb9087dfd9fe7223 |
|
MD5 | 423497a874bfb9b40943a0600493bc52 |
|
BLAKE2b-256 | 8d9dc5af4f75e190bb93ca35cfa94a217d90415ea262e9e8773afe101d6c8b40 |