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.720.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9f6161b476f6fa6d02cd28aaf70ca102ddbce402dfc38c8cf810eda31c49b13 |
|
MD5 | 2cd7cc8de80a3a85232deadbf5837741 |
|
BLAKE2b-256 | 5329c0485a5de31af906d6335a8d854cd3bf8a4bc434d9ca244710347a6110b6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.720-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a77dc37d9b3abe34f1430a9892f9f830d8bfd028a8bdff78a59669a62c84d02 |
|
MD5 | babab248df42064903b1809d1b23c469 |
|
BLAKE2b-256 | fa9be2cfe4ccc221855d3ad49796a79a1454642b43e7f0e6f7a27e71b2125886 |