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.128.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2224f95a452a8182f781fdc991db258073464dc48152267be615bddc43a8489f |
|
MD5 | e379ff54e81693e5cff3fb41eb2d7714 |
|
BLAKE2b-256 | 4837195e7a475c35f52fbf7580f5b8e9cad35d12ca879cf78f43c4b7af3964e8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.128-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fe4629046985ba370ac1dcb5e01b934b192985d11f471f817c279bf1b730cc9 |
|
MD5 | 488b6c2a0bd5b3b0650c39b031b492a6 |
|
BLAKE2b-256 | 92ce6a9acb1cfa02d90841c87ab95f4da2a69c94f1afd46d065db7bbabdeb32d |