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.537.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b02011deea864530893538281f1d88593eedf6b7561630c5d95e20d374a2ac88 |
|
MD5 | d922f448abe61294cc21f653b4d10a24 |
|
BLAKE2b-256 | 5ac67242712e5db9b5eb0fb6a77c497585795dc03436f3a2c13e45368cf7947f |
Close
Hashes for cdk_lambda_layer_curl-1.0.537-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d0d55b7a06b132b5789764c88567e414c30077f83aaf03d0adde3aaf10798a1 |
|
MD5 | 502c1fc3c618834b3ebd3510608d8216 |
|
BLAKE2b-256 | f77392b0f95d3e55843ac91c31cbda5c442ec9135e703097f74674dea646045f |