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.193.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 014543a697be21e0a4515b2aafdb7c6d6125f32e06b2d66b4488d457e1cbd5fb |
|
MD5 | 5ef2f2e6d94e3bd0e839cbe7a57fecef |
|
BLAKE2b-256 | f48f32696badcf661282bf9bbddafa9faecec8b1f4e631adeed768f6dedebf4f |
Close
Hashes for cdk_lambda_layer_curl-1.0.193-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f21814e2c1377f2dcf81b47ec8fc677d28e735c7212372a7f9a37f412896a343 |
|
MD5 | 78caf93e4edbf6e25f1e1d15126bcf50 |
|
BLAKE2b-256 | 40be7adf8f8185c6976b173af66555273172d93cbb2b0613e4feae1e693c759d |