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.664.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5134a8463c0be28e746703fbac8a487d434d9e43ffda6e448339f3df1aee43fc |
|
MD5 | a6593c4f37beed377bfea732bec8be3f |
|
BLAKE2b-256 | b4831050512789bb218f71c7fc90ab5a6ccdae1e08cebf41e34b419f50436f06 |
Close
Hashes for cdk_lambda_layer_curl-1.0.664-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71e45c540b37001d7ac85188f2e963dccdf9fb4b4da5452043f03c6920e21328 |
|
MD5 | 48e0150a137defb5f3e5766d1c71ea2e |
|
BLAKE2b-256 | d64bb9c7e14709397190e6f2a7c27dcb643d1adfacf637b4c40cacb789e5dc1d |