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.336.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88d594731c4e3a32be42c6a9f8b207566fe45f5ab1d36a98ab496225bb2eca37 |
|
MD5 | fc6b4013846ee629df43560a3e8817e8 |
|
BLAKE2b-256 | 880c9352928c0ca0766209389956d75f80ca54dc296b6c62401cef04346fe190 |
Close
Hashes for cdk_lambda_layer_curl-2.0.336-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2e1410774d24bbe1b1221f5bb04b3717c906f07979c9e9f71104ce37cd4b57 |
|
MD5 | a87414ca12b690eea48bff0fe70993f2 |
|
BLAKE2b-256 | 3dc413857494544be7c2dade4c1968e3800c648f2c53b2313c1a73f49dcba584 |