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.707.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64a1e396846831c8608cb96d5b57f9a4f410a93dff40667b697e5532894a39a1 |
|
MD5 | e92deee8e74f6e25a8059e889ad72ce8 |
|
BLAKE2b-256 | e64a8370baf901dc2be8e09b98f238979d15015875e65a7b47ef968d7af55dfb |
Close
Hashes for cdk_lambda_layer_curl-2.0.707-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ebda833a25855aabc076efa2fe48bd5b1b4257a5abf93bd04a9aaa98c018a39 |
|
MD5 | 8f06e06921d779df5348b1437c2c8509 |
|
BLAKE2b-256 | 1be3c53d00e0edbf3eb40e21f048fcbc01f12d0f74c0c8f8d9d12e9e1ba4b193 |