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.450.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc1a80f386ffee517d58e1b6076b4cd58959f411fe5d29ad5bc4015ea7f853c7 |
|
MD5 | 73a01e0b4c2861d23d866269b74979e2 |
|
BLAKE2b-256 | f9aaecad9c1b2283b315c265aa129f4e80e8b21ea6236cf7ad4c926b588b6e6a |
Close
Hashes for cdk_lambda_layer_curl-1.0.450-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b70f4b0cc99e7da4c063a6d711f0fe6d4bf9a36c4165c70748ab82f5c778a00 |
|
MD5 | 15b07ef109d39e10057a57636b15f593 |
|
BLAKE2b-256 | ec7881851cd5c18b2043cbb500d161649f8b99aec33bc6f5571c9cb6d21a073e |