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.577.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78309a50b05261ca84657add5e1b3ea77426a113905bd66262b700d2a07d4dc8 |
|
MD5 | a3975c5a268f47912f8513636e207ee4 |
|
BLAKE2b-256 | 482c5bc4d4b9a9cef26e0157da21ef2f49a07507af08b6e42d191e5ec7c54aef |
Close
Hashes for cdk_lambda_layer_curl-2.0.577-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cac4e82e33306f5c1e2d4a7c02ec28f3000d343990beb9b345c24b6f8f8aac6 |
|
MD5 | 55fe66e06d84b1804311b5a44ab6c624 |
|
BLAKE2b-256 | 47cc82b555be038a88987ea1388389e2f5837bf2cfad26ca0de7ab324e98f905 |