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.674.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 471f3f12e2c97372b58fe2443b70717e5cfaf0cf24ff67a5d9ef4527266d4635 |
|
MD5 | 730ce679601bba2f19b13f210f6218e3 |
|
BLAKE2b-256 | 261c2df31e991320943eace3dd485a70941104bbc56e610ce9232697cb6db02f |
Close
Hashes for cdk_lambda_layer_curl-2.0.674-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42b5ec2dce15afec524073c233fa6e33534ca588f7174cfb1e42e032039798f4 |
|
MD5 | 7eb46eb8615b384cf4fda6d7f266cd1c |
|
BLAKE2b-256 | 6f75cc8f2f5b6af62d9627e479f71172786cdc96084a108d51bf8a289e957792 |