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.322.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7b4094008fb304ffdf045c382989a533b6db925323676ed942a1f494741512c |
|
MD5 | 42164645d1c72c408c71294ec7357f34 |
|
BLAKE2b-256 | 946f57b66f77a039bb657c1db134fd98e7cadc4ace37685eef0aa416e4617591 |
Close
Hashes for cdk_lambda_layer_curl-2.0.322-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a1670950db86163a8448899c86c320493a5e615c20a9f5685c0742f2875df47 |
|
MD5 | 5f5431ccddc7020c8aa4028cfc36b61f |
|
BLAKE2b-256 | 0ac8731e07bbd6523e634df975e897033ec48fa10a4aeea88e375338c9b127f6 |