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.56.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2d05d755c3b7e63f131e998d12dfdd4b3c957e2fc32892ae40d9ac801281356 |
|
MD5 | 26d2a1f331c215cb1bdde5679708befb |
|
BLAKE2b-256 | 5586b60742c5517d791af3a7bdf365a56912b6de7ba64ce18c6c602e9368e943 |
Close
Hashes for cdk_lambda_layer_curl-1.0.56-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac1553286eb161e7d6e2a52c4feb54f1149ebe34e7ceaf668ab62fafdb9900f9 |
|
MD5 | 3378f31e6d4f716b55685e1d4945afdb |
|
BLAKE2b-256 | ba8f5d3ab7de5bb1e734f0a4ba4c37d22b2ee4732f03eed9e52fee4373c6ecc7 |