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.236.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1ea8070bf7d7bbd56eb1189e46de96732d3a457c075b1e853d60f84abf24f07 |
|
MD5 | b9b1c46b0392fb681e317121d61a28c2 |
|
BLAKE2b-256 | a132646c247a39ef4fdb55a4256daea1a096cf6009f14ad1d68703b7205f1122 |
Close
Hashes for cdk_lambda_layer_curl-2.0.236-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b40773312efaa28498ac161826d3794c41c1aa2f5f475cc8bdd1bf3684118f83 |
|
MD5 | a0be1d343ffed40da278e3ae378ccf47 |
|
BLAKE2b-256 | 93171e463036047ca97a202355f07afd822b362faa422a824b0ecbb9efe7140d |