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.728.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 435e3fcd448772f563e2ce84f9fae87b02fb491ce5e52f118bbccf73ba2a3dc3 |
|
MD5 | e567ebd2e2630cfc54630c7435f696c7 |
|
BLAKE2b-256 | a0fbe43eee7c9078e5411964e23fd4a5fd90c540aaf600e99220fccf288bea08 |
Close
Hashes for cdk_lambda_layer_curl-2.0.728-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 441b695ff93675934b49ccddd1268ef54921b322d9cd415f7aec7c068dec87b4 |
|
MD5 | b761d84d5d1f1cfddbc9ea6830555f59 |
|
BLAKE2b-256 | a602edd2f0394f8a55472f8abd615df6546cd32d7c7259db97deb5fd80dc4404 |