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.661.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a33615762397f1c694047dcd61925c11f3dafe745664dae6c6d0c6e7021a0f5 |
|
MD5 | 50c453d85c42c768a134c00b61fbbbcb |
|
BLAKE2b-256 | c19251c6d71c23ac560278b0854a32d01ab71040cd319776a45deb63642dcc8a |
Close
Hashes for cdk_lambda_layer_curl-1.0.661-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4cc94af3919718c4824aa0d1daac74da54f1fb96f5405c7dc938f77831d5652 |
|
MD5 | 5a226387a4e0ad832f1284754fb71bb0 |
|
BLAKE2b-256 | 336b1290b0cb99c5f53aaed0b0d1608b0b2d374ee2cee598a87c3fed826a9cae |