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.629.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd1b8629bb49211966dc1854f844eb9b282481861ccbd369d31661bd00a034c7 |
|
MD5 | 03859f7e296270433d88cc9cce8d92b4 |
|
BLAKE2b-256 | c17bff814d34d168057cfa5d1f6337720148633284d8876ccc1c29127693b176 |
Close
Hashes for cdk_lambda_layer_curl-2.0.629-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0a74b684ba94b3d57c47eddd681d61af5a25ad584fbc7d872998fbdb987db0c |
|
MD5 | d135ca49a83ed44df28f39e259bbe44f |
|
BLAKE2b-256 | 4a182d1e11a9f1792362647f026c194bde3d21298545f1a81aecf107eff98ee2 |