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.402.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3406466facd92e01e650bb194905572fe85ce08b95ccd5df4f52f8de0431cd6 |
|
MD5 | a97c4488b54970367a636a039f83a4b6 |
|
BLAKE2b-256 | 526af680209125a3bd8467e987609e342d629b9b709824cdae88f29accf418f4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.402-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57b46afd30bf199dc0f34ffd6023b1d6a97a08075d7475d1541b9710aeb0a65a |
|
MD5 | 975115e92e6e55a556c44401ca5e5e13 |
|
BLAKE2b-256 | edfe597be197f32ab1c1a306e373741dedec2b6806f93948648bf6b9f322dc4e |