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.530.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57042066b52cb13cc7e1a450462f06bb09d0604d67dd25961248a2de57ecd848 |
|
MD5 | 213403a9b0c45a1c6e1ee58bc9923179 |
|
BLAKE2b-256 | 5ce8800d4c345706820e57d112a398f6ea0583342135b033cefff34d39b158c7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.530-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f98dc347f547f49f54280577f3bcf8bbcf9b042fc6c5affb712d1df822f951d6 |
|
MD5 | 830df8ec8214a18d0e8dc672188424e3 |
|
BLAKE2b-256 | 62a758e69479b7e836097b7d92aa3ea7b99f68a0409ebad00e67f62d907992fe |