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.522.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31f0a3ad8a0cda38992d7a8898e333660b851268d9dc15aad5710b4a9578b947 |
|
MD5 | 60ec35c0a1b16d38f94470dd62e9dc42 |
|
BLAKE2b-256 | 429767ef7448ce4dfb7e447076c6b3e064bf92f65e6e9dfe4a1a28577b413a26 |
Close
Hashes for cdk_lambda_layer_curl-1.0.522-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9cc191ebe5f6429ba6bc5ec8a1d2881666ec3d6029826daf1948214b3c1a72d |
|
MD5 | 43b3275ddca8f6a2883b3d080f303a62 |
|
BLAKE2b-256 | 5d0e2505898e08f46cdeda4d1a199c3619588f9efdfc05453278af0f83259316 |