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.339.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 006509759435e5bb357a52d60b6219e36f00369c225cfe3871b36a0216095cfa |
|
MD5 | 582f40d3325faaaef8a4fe483f3351e3 |
|
BLAKE2b-256 | 3a40b6c2475cdcf9cb0525274d5ff30a715a20e9a57bed27473344a094084ad1 |
Close
Hashes for cdk_lambda_layer_curl-2.0.339-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95e23c2b06606637a2780215d8ff5acce9263568c04bb86df19f932f7fcd8856 |
|
MD5 | 6e40ee0b10b59d75c41cba59be5f5b24 |
|
BLAKE2b-256 | d6aa31937d11543a929dea92a474c7661eac91f7d43dea03d51db935f635eee6 |