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.764.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99246ec18442c294c4e616262a75e218eb865ab22f3e2bdc3d5dd8155db327ef |
|
MD5 | 9a87315d0fadd93df6b8b5a74d086ef1 |
|
BLAKE2b-256 | dc1d7a15093afc13305b78a6028278acacc9a092fae343ca25b916069d39c65e |
Close
Hashes for cdk_lambda_layer_curl-2.0.764-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c95f95e8a8b9c18501b058b529206fdb66f328cac48777948f9e25089e2aa89f |
|
MD5 | d142a734e821ad8c1b6f9cde71998cda |
|
BLAKE2b-256 | 0f20c014553eca855654a2f1a67fb2f1525b536d594a00cc88bd6e8db4129598 |