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.473.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74d8aad054f78d7343dc8e010954ca51f517d4dfd07222a4396779df8f67d5ff |
|
MD5 | 5033d0ffd4773a424df9ff78e8082c09 |
|
BLAKE2b-256 | b64b64708ae83584bb1ea516dcdff2572fa60d1cc2a8a9b12af054cf0e547c0d |
Close
Hashes for cdk_lambda_layer_curl-1.0.473-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de0cbe4eb678a3a38c41d46d2e8c755e85b4950c446c508df5ddcbf389fab652 |
|
MD5 | f147d1a927482284700b9765d8f8e4cc |
|
BLAKE2b-256 | aa84f11053e2eb6ce7b42e7a753fc50324e1c325866f54c55bc0da27209f39b9 |