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.315.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | adbb527ba882c02af296c3b0298e6819725c8ef668571262831303679e8b5590 |
|
MD5 | f59a5f09e624a4499c1394ca3998f1f6 |
|
BLAKE2b-256 | 7a9a774a94aefe97c12f0bff9a556e5fb2abaf9b769efc211ff60e5d91bc3132 |
Close
Hashes for cdk_lambda_layer_curl-2.0.315-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf0666285b947b56e042941ade455b5461f618a628d6106613e0bbf8987ccd3e |
|
MD5 | 77c6247ee2ae8a52c1c4a02e7a858887 |
|
BLAKE2b-256 | 0e6188593304eb3f11123ffebd17e1b532323c8553e8803aa80a879c760ed436 |