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.557.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 409da15a6e8f7f1c6bd33f3639297061eef23c9d531c0aa865995c79aab5a25f |
|
MD5 | ac16dee7685604ecbe4a583eded13e4b |
|
BLAKE2b-256 | a087289f84a37d76bcae2ca1506b2d98ac199927801fee4750366b1748f9e635 |
Close
Hashes for cdk_lambda_layer_curl-2.0.557-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52bcb4f8f2b0b802308f396e63b791a103f35ea369329ff1c0a828c6c1877160 |
|
MD5 | b2dd9e1e68bc78a568e14e45133ca0e6 |
|
BLAKE2b-256 | 22059eb9aa15d0bac6fe130c04010581e48c7c4f5c0216cefa7023d604849d6e |