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.480.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44cb28ea3950d7faa748ccfb377aaaffdf6f9b22cc474eb0a2eb0be2fdb04dca |
|
MD5 | 2089150218bbf3ff4754850c3dc25e36 |
|
BLAKE2b-256 | c30558869a30c6453b2080dead01865d4dd361925fda60297566d5abfdf0f73e |
Close
Hashes for cdk_lambda_layer_curl-1.0.480-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 755b65d353bff724aabe925f1a337c65c623e4b67eae79d675e43d8722aa6e06 |
|
MD5 | 7b00b45d71b1a3311ae0fd1f98283a9c |
|
BLAKE2b-256 | d4a074decfda7a3c6c815844fe3e2ffcca0287e10d442f2ba6dcef5ed26f0149 |