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.112.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe5011afe418539854691e693b4ac2f8bc3581e8ed98adad6d2645198d968fae |
|
MD5 | 98fd8fb2f73ad4bfdc999fdc4ae67c7e |
|
BLAKE2b-256 | 060ccb8572fdcaed74d81bfd35dff02c92c55071b91f26cfeb819bb440608cfd |
Close
Hashes for cdk_lambda_layer_curl-1.0.112-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e28f5c4926f5ff4330a394ab2c951ee43a5eb1690c7521a677107a9f902f78e0 |
|
MD5 | 21c55cd5dc74df3eee3bd0648605638c |
|
BLAKE2b-256 | 0f7f8f29b5c96e97f258e2dcd7226bcb9d1b76d14c7b65711dc6030e1dcffc1b |