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.416.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dfb83817c9f9b246ee0a0f1871ec1602d041ac7ad3463274455425c0a05b867 |
|
MD5 | be016fc4036a3e5f132131f179c22449 |
|
BLAKE2b-256 | 50293bb6587e53ef82e72e524fee20a58c8ddf883c17a5f4b6ed34e5b2e415db |
Close
Hashes for cdk_lambda_layer_curl-2.0.416-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 036364378d0e615b4f1bccd78c40bc389c072c03c8d52fbdc813cc825f165a39 |
|
MD5 | 4795f0d623b17efdcbda917ff1536ce9 |
|
BLAKE2b-256 | db6de027bd3a72322328ef8974318a64a4d25ce1e9ee51e46f0cfa12f761c4a2 |