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.249.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6587c22c4f750e6bdbca33eefce767eacc97c533662330922738c3eacec38a9f |
|
MD5 | 68a71284ba4d941866ec99ef6eb3535d |
|
BLAKE2b-256 | 25aa68be6e066d805132f86c13b6df85446ef6c21e58cf2be12e4f58e562a2c4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.249-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62135fecc5b7d1e840eeb70124fe96dfedc940f3bb6512c4deb62debe5d29b87 |
|
MD5 | dfead228c4aae92a2cebfc90e0983f3e |
|
BLAKE2b-256 | 28c2f06703374a01cbdd37257feca789a2f0a1f3893bb4ddd40ff4ebca129272 |