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.101.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cdb062a61a59b611446520f8ef1df5b1dab415853165e2c94d0a37e79712bf5 |
|
MD5 | b1538fe5269e1671b16877c2e8b84c61 |
|
BLAKE2b-256 | 3fe9b8c83a684a708d27616f15fc7c3fb0da01fa22bc5cc3eaea527cbf85ef42 |
Close
Hashes for cdk_lambda_layer_curl-1.0.101-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d638a6ac54a0581876ae3c0dea31c0f874b65b54be5e9ef6950e4c690a460d6f |
|
MD5 | 92b9c9b6232ee9b1486cf15f6bb31daf |
|
BLAKE2b-256 | de001b5693236e4942481fbacd863b3deac4e01dae5a61d6b69b75e2c05c93e4 |