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.293.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dd13db6c351395b75633f98534f945eead49f96566ecc7620795703aa5075c9 |
|
MD5 | 9158999b47ae8543361bfd0ea785fe2f |
|
BLAKE2b-256 | 6d5199e5a0c0dde902a3ca678da3e1a31c83e93aa20f210163c346b2c70c76c3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.293-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ce739f17bfab5ef7a46e46e623936a27594ea941d3bba08c749f600825fe10c |
|
MD5 | 50cf953998889de7b736d03ed7fa2d09 |
|
BLAKE2b-256 | 14d8bad88b23770abc25b03bc588d9fe14d4eafc3a1518fcc5357adb4e1173ad |