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-1.0.106.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdb1ae58cf7a5c1fc5751288df5a75e1d731a4b9a9888a982f8ee5aded13c8f1 |
|
MD5 | 405ca5fb17ca458f6c2e6eff1a020480 |
|
BLAKE2b-256 | c2ca60d17c1e301c731b68f8189c928a9566447ed411b28b49cf65d920b8602b |
Close
Hashes for cdk_lambda_layer_curl-1.0.106-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efa91bcf4a0b4c90527554929eda617e83457d7fb8974249922a298de4d132a1 |
|
MD5 | a81b3323d14dadd6f3c11c2329370296 |
|
BLAKE2b-256 | 8749f9b110384f2800753e348b4139e4abef0f4f904037232989ce230366e4ec |