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.62.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b658e5294299be2562e7fe0bd4bf50e89548c60d29cb34d5c7685ed1cb78005e |
|
MD5 | 7010c0fdddf8591f29064f2539d2669a |
|
BLAKE2b-256 | 4cd72364518ba1aaca2916021b3be85ec633c71d0334a3d4589b951a4a5211f5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.62-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff463dad3bbc440bf5e6bd44eafe1f2e0053eb15deb984b14eebe99661607c5e |
|
MD5 | 49a82abe20a37ee5a523d6ae1316c35d |
|
BLAKE2b-256 | 570c8c5187e55a1a94e07685e10151b8a4d317c07ce8ed6f647e1d71df48ec3d |