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.627.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2251451bb7913b752a2432191c6a9aeffdaa0b28daad1a3308bbded4511cdcb2 |
|
MD5 | 94b2e7b718f7ab869a5b4d3bbaf04be6 |
|
BLAKE2b-256 | 63a0d2401eb6564f8a91e3c1c970c3326b80fd35e95a633700999a0f70f86243 |
Close
Hashes for cdk_lambda_layer_curl-2.0.627-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d9b95918df825f2006218f0457833e075d967e70c3efd00b1dcd551bce239d4 |
|
MD5 | e6857aac6bffb3b5179bc55e7ee29974 |
|
BLAKE2b-256 | ddbd77e79d8edba28d8619567c134645cd96b2c37692fc2db9ac5ee553f78988 |