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.169.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ddb9aeac3fc1b72e5f712f57f2488d817e1d2cb2a620e925ed1641e06b7320f |
|
MD5 | 1dbd4847d1ef06bad3e23ab724c711ce |
|
BLAKE2b-256 | 4f766b248934646c5e553591d31bb1261642bc611f261b0f8ee5836b19425ef4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.169-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a91ed39444182681ecced87b47911632574dd55b97ad0388468c35b8f5b57c14 |
|
MD5 | 6ed9741a2cafe4863a0f66b5d5c4d791 |
|
BLAKE2b-256 | 7026d0ba22388e386de6fad8ce668f378a2f8dd330ec377c702dc1f8e0c7cb55 |