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.734.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f81e1024c50103f96f0df88aeef48cc403930db0a9a906c7fc069256fd475606 |
|
MD5 | de0d866c2ffb37c0ffb5f7320522b06f |
|
BLAKE2b-256 | 97f97e745d3c0e9740e9659bdf0eb4f1498edb77513647413dca08daf80b0e74 |
Close
Hashes for cdk_lambda_layer_curl-1.0.734-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fb4afb00e794fdb6a70d25a1960dc3a491e8272646a8adde3351e83ee70f4a2 |
|
MD5 | 6f81be05b457f15fc1cac139ac6f0b68 |
|
BLAKE2b-256 | dcd1fccc4101811c213610cbaceab0b5f223b445db480cbc50b15846158204a7 |