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.399.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb0e10bbf2870ec536738c4d2d39b3b77b3d3eedc376e330b143d12d04400d9d |
|
MD5 | 487d1d141c67d7c36e5cc5fd22f9791e |
|
BLAKE2b-256 | bbc8711366e82cf45fd2ee049afc64a7230a5d77f2a0760a63995d41ee46d090 |
Close
Hashes for cdk_lambda_layer_curl-2.0.399-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9d06a8b4939347cae9ed242d9888d6bc02c433e25b3c405e7491ef44680df4b |
|
MD5 | 3168b6de06f11adf6963a1556f7cdd57 |
|
BLAKE2b-256 | 5c7f10249b54f377911f559824be02bd332008e6d188d7279788956cc2021e63 |