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.329.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a13e372d38bea95d0e95d4ae5381335efc8facbf00f71b755f3eb9ef6a9caf28 |
|
MD5 | 6b04b474ea8708edf0591307dab15814 |
|
BLAKE2b-256 | 964062115d5033a411a16d1bf3f222baab17826e6bfbfcbd4d4ebeffc0fd1152 |
Close
Hashes for cdk_lambda_layer_curl-1.0.329-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4ac07826f8d96cc3e2ec8d665af5efd51340daa2a2506180882dd79764e780a |
|
MD5 | ee2c66a7b2c845635c0ed404c1b463d0 |
|
BLAKE2b-256 | 96bf8bcff6c6da6cc7d10925a2636d0451c164bafa8d65bc71478a7fc5c82e76 |