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.499.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9f2b7439ed5a99884ce8727c29b6b81b35afe2bae09ab0e4f246c15d1696531 |
|
MD5 | 0734a8b6ddd9b49cb167605d23772aae |
|
BLAKE2b-256 | 4ef02ec823695e097d84838e041af3cac8f41ead48c51b90bd14cac9640252dc |
Close
Hashes for cdk_lambda_layer_curl-1.0.499-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c94c0e8b1479dd84a861e3377f6268b87dc466dd9f7fbabb663b8d8a93495d84 |
|
MD5 | 04cd97853f760f95525e723f7e77b338 |
|
BLAKE2b-256 | 3c4710d705d3650270d18f769f120fb1549cb9b07015009eeafbb07cd88e253e |