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.568.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4711fc7fbede2a6dbe1ca3ad0fe04e6f46934d60fa06fa2bc8d38997d09d161d |
|
MD5 | ab8147e729badd1ad27c1cacc208eb93 |
|
BLAKE2b-256 | a7e8795d07f4610780b4e00b811aae3ed5829784caeb181c4ed2a23e97589988 |
Close
Hashes for cdk_lambda_layer_curl-1.0.568-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 228aa57da42c83bd5bb853d09357de4f75637c1eb36467601be1f45691335dd9 |
|
MD5 | 8ed807633a10bdbeaad39cabe9f48a0a |
|
BLAKE2b-256 | b0506c6080de37098150cc97ef34a7247b672177c8a9a6268cfeb2b12247ec1f |