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.58.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | efdd11704262ceeedfef09b2fc3a6fe2efc1ae30ba77a189ef04e336b5a482b8 |
|
MD5 | 1befc586b1971b49f1543c4610a1c693 |
|
BLAKE2b-256 | 4f02f586a6e15b81a547696be59fdd511e979c92a39560ab480fd06717a4e17c |
Close
Hashes for cdk_lambda_layer_curl-1.0.58-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dde432f4959bf49d173eba9de309fa37579ef4205132f87f1c6a6a74cccaf475 |
|
MD5 | 643128fb7217c7c9b2756989c5bb521f |
|
BLAKE2b-256 | 92a4ee8422c733bca51cb53e6166e1d635e032501f5bff92f6f8c6c9959f8cbd |