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.171.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a13fc30bd3e82cdf779e270f2bc5a4275279094eea06aea2567373fc3b2cb96 |
|
MD5 | 40c2a846a86f52a833e022e79c817983 |
|
BLAKE2b-256 | 2ba0648556f6311f9b3cf15676dd377cbae9be7f5ca817909762c3488b438e24 |
Close
Hashes for cdk_lambda_layer_curl-1.0.171-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e637f0a3a4c0b987b336881521e583babb8336e32b8e228c17fb05fe6d5b65e |
|
MD5 | 629e107d13bb6178072ee1162f55312e |
|
BLAKE2b-256 | 1c3e023159a5aaf733b46ba58fa7b99f9e149c5199dc831c7182ada336620476 |