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.47.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57316df04629bf2f536b79d11ef791202012648cc6c34815010cc11af137aa3d |
|
MD5 | 8b05ce133ea61c4b79b747ffe8c4710b |
|
BLAKE2b-256 | 4152faeec3919cde1564b794dce3637a7f7eb5d86ddaabb09cb8789e6e5d6ac3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fe85c740258ce34ff950875dbd668b8ac579c83af10896f0aeddf1b3ee175ef |
|
MD5 | a1e1f8e0436ccd7792055dd008a21356 |
|
BLAKE2b-256 | 271dc33d776f0c550b1156cc159e0946878ec7c5504741024dbd3ce56d882fbb |