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.407.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa07d76a21318f469d310f28157e16a35098e94e0b6bdde7b57da05bfe66aaa7 |
|
MD5 | 0b7d3ca5ef2edb4b7b44c33a4a8c3fe8 |
|
BLAKE2b-256 | e2f90140ec5e6801051559a44d674a44eb298fdd5336a2a2cbff6608bed2598c |
Close
Hashes for cdk_lambda_layer_curl-2.0.407-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 991a31271d39ed104b4fe0ef29d82d36b3ebba96d624d5a5969d5f9e3c782ffb |
|
MD5 | 0cf09386a9386643bae142feefb6b754 |
|
BLAKE2b-256 | 7754fe2679c5b10e9494094e66d95f38018207e1d338d133d7fa4a75e5546e56 |