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.68.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48e07c9aab1ec9aa2c89c87879078e03803deb3ea286b89fe17b778d1900060c |
|
MD5 | 9afb2f497995cbe12880b179f75fd05a |
|
BLAKE2b-256 | 6c6a90364b5dc164ed14709a805cc6340cfdf5668e754c51e9224bb10002e7dd |
Close
Hashes for cdk_lambda_layer_curl-1.0.68-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a570df2dffacc6e77917a7113e6483f4ef8e766ad3984b42191eaa8d1011c2ec |
|
MD5 | 0452a845a1c9cfa42469156e60326571 |
|
BLAKE2b-256 | 66c55196ff825c729adf3866b5a7cd7add1f1071f44fcc6ac88cd4e2f9896336 |