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.25.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01da8c7660a0cf8ac3a708f70ac936f75967aefc46dde6e1f28d67c27fd2f7b6 |
|
MD5 | c6f715eb6bba0b7dbcd2831d62cf66f8 |
|
BLAKE2b-256 | b327e9a1ce1e692f6e19f6723920881a205caee0c02b1f0ab56f9a61a84a6908 |
Close
Hashes for cdk_lambda_layer_curl-1.0.25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbe93ee06b512ed140b0f5f66c6a7ecbfd815ae0719ff52c983507d799788aff |
|
MD5 | 1d33320c0f760d3dd579a208a0512b4c |
|
BLAKE2b-256 | e0c29dcb78cb8b3e35e3f2533a5e3460fe6509296fd7240318d860aa6875c15c |