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.53.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48b8f6bb587416ae4f22e2c65037fead45d05d36caad105bf3e16186bde382b6 |
|
MD5 | ed2a09b8f04a4e291e17cf7e96d7074b |
|
BLAKE2b-256 | 9fc4d3202834929576f2ff2df4b1a520e9eac624d7eb30425f50bb1f9220abd3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.53-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bada86a6e7afb5e59c6da869592d7d93a04ada8f74810c8864813ebad7ccd4d |
|
MD5 | 5a69e1205f4e0bf2760e3923935d9582 |
|
BLAKE2b-256 | 000bf6cfaa339bd7bba91205865ebfa6413337fc5b9997fe103bf4518c4eef17 |