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.261.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6059fefba6a6d9ad863ef40c7c82c47f29672e33aa33f4cb050795c3060d2e8d |
|
MD5 | 0719fd5aa069a7e180c3926cb366b1a1 |
|
BLAKE2b-256 | d1c91f2f85fd535e09f8d49c21c228c35cba48529d6ccc10e6a8772a9e1e0df0 |
Close
Hashes for cdk_lambda_layer_curl-2.0.261-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62811a5325109f4df8daa85e1bdb4ce2904f3ec2a16a48838fbcc2da9f899bb4 |
|
MD5 | 1d90400ee375fdf0ad5bb533b0bc040f |
|
BLAKE2b-256 | ed4df35d9a08a99afbd58640f79d8c0bcf74629f970620ccf4960b1849f83644 |