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.378.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fbc7f847b2dd77547886b56854fac2d790b1b2f89738a3afe74d0277f965c66 |
|
MD5 | 2fdfff095a7f03e78c315d2351f108e8 |
|
BLAKE2b-256 | debea18a3974cad7a1bda91d98ec04c4c067e7abcffb054e12a2a9ca62df9967 |
Close
Hashes for cdk_lambda_layer_curl-1.0.378-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82816e494b391649701d8bdbed97d4e16dbf438d86b1dffb2b29ce730a9a94ea |
|
MD5 | 174a3d23f4428dc9610ee55d11d0f587 |
|
BLAKE2b-256 | 21ddfcc82606e33178278c7d1f988a8d271cd8ba5369de511068cc12887cc427 |