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.230.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 794e13e5708fced38765e1a733f5ac9cf0133e4e8bc093a550dde6a2644f32a8 |
|
MD5 | 31e6486603481a1d7e547d2809ad96eb |
|
BLAKE2b-256 | 16bcd468ee0de4604017dd403d4fe2866186f071785974ae2cc48aadb8cccecf |
Close
Hashes for cdk_lambda_layer_curl-2.0.230-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d682d88e2ef131227d511db23c1011a34ebbedda439994782dd375556dc2cfa |
|
MD5 | f310a69b743fdaed1904deb7e8087913 |
|
BLAKE2b-256 | 62d395aa8c32ed7dc8cea5248b0d761b5e51b3bc73865953ce090bd071fb9297 |