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.182.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58f225db752e8bafbaf1b204dfd1f29dc309a82325950a595e982ead4ccbb393 |
|
MD5 | 3ae4835214faaa7671eb96649d0d7a0b |
|
BLAKE2b-256 | b786ac1c4eb8b6f57654ece2f4df3b5ce5b5622d760f7c2b53748c0bb86adfb9 |
Close
Hashes for cdk_lambda_layer_curl-2.0.182-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d571f8f3370409b7f8e6e42fe51c51b40143022292bc6a9dc3f78cd9ebff337b |
|
MD5 | 5cb594930c181c3eda836ce0980db62f |
|
BLAKE2b-256 | 35aa815b4a776aa5880e605b239eb749239dc5666670718fe8b43c907eab96bd |