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.756.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aab8274a9926acfd3592a3825cb9b2522a461754f1a050b5e678c2a89852eeef |
|
MD5 | 7c5d5c89f1716c1698fda0eb3301b68c |
|
BLAKE2b-256 | 8644efa09a34a6e6ee682b124b9c4a6a887a413ebc6f62e6ef742fbe846a7a52 |
Close
Hashes for cdk_lambda_layer_curl-1.0.756-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 152bc1adac5e519b3e6e32f15da9814a625d5bf688a1e2fd4bfff26c4e9117cf |
|
MD5 | e6c769794720e89d01f8d95aa4aefe66 |
|
BLAKE2b-256 | df450d6fad5ad2279d0f035a01dab354ed87eacb165467a11f25c5c74bd25c56 |