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.82.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a4acea612e0ccb7360513e5d4aacfb89f650e4ebfb5439f68b4628334a7c5bc |
|
MD5 | 116630f0b79b6faf737ac54190dc3778 |
|
BLAKE2b-256 | a5970802415f4de0f5717c2abdb52ea104259d8f0c704b000774a357841ad5ff |
Close
Hashes for cdk_lambda_layer_curl-2.0.82-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c4fdf3b66c199235938cd29ec6dff15aef9cfe33a27620472a2474f38f4ab9a |
|
MD5 | 8c3f8b8be1b0066ba079b22eafaf8fba |
|
BLAKE2b-256 | e16a1e6f899560d419605cfefdd7fc776df4d5a08331e9d9d0aff61b015f130b |