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.406.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 106311e3adc4ff5787292647476c4c40a0337ea725482c11cd4cde1dbdee0636 |
|
MD5 | a0ea4523432df9e83e8a3d5b176dbd17 |
|
BLAKE2b-256 | 185542c2dec94e3369550599255e7bcd3796a9fa7d805ef3dadbcc8de6e3c0aa |
Close
Hashes for cdk_lambda_layer_curl-2.0.406-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5739dac0cfddd6a225daef385b8af2a6fc03cc56821bced992d2857f2780ddf5 |
|
MD5 | 93a6559258afec33dfa365db4517a104 |
|
BLAKE2b-256 | 7e97029a8d8cf287ea823db09452c0489067f678055e9377997a5a2b1d6f47fa |