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-1.0.231.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8051287db11d42dd632524ed73ab65a26dd9676629af479f0ebab2c353d8332a |
|
MD5 | 76c293119165b16eb58b5f648a782d28 |
|
BLAKE2b-256 | 0dd93c7e4f72937ca031dcf9f8329b28e15d6ba2188f939c6fa9e11f3ccdf64c |
Close
Hashes for cdk_lambda_layer_curl-1.0.231-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ce07cbe002752aed27210f3a6deefc0a9d51a03bd8150f6af7f7c1fa0c5cad9 |
|
MD5 | b8a7b7966abd7c96127c56ddb2d5fed2 |
|
BLAKE2b-256 | ab0e40d115e07ab3abca282919e47f3dab6827b7e6692d30f2021b78c4a10440 |