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.507.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0361448ac1ab62b851cafcc9f8c8d1569dd3cd906e58f84a96a3fe0030b42e0 |
|
MD5 | c51c29039fa4b2dbbff5e79538dca14e |
|
BLAKE2b-256 | 4bb4d7e3a274c0e962911aff4da22e51f549c5a053c13f23481b8e3740757c66 |
Close
Hashes for cdk_lambda_layer_curl-2.0.507-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6672e6ed9b3af9e1a2d4331dca24e5c3f05bea5c48feea0c869a1e2d98c3dd9 |
|
MD5 | 1c505c7d1f74393a25c19d90e4361c07 |
|
BLAKE2b-256 | 7eda951c229817fa918ab8b6998f3e401c9db49de407b048dd89488d91cf7e96 |