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.829.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16abd97bcfa917edc5ca5cfac10c5cd71256cc40589be3a1af5ba356814f6675 |
|
MD5 | ca3b23cec7fc34584a5655b9fa83d174 |
|
BLAKE2b-256 | ffee6b27a8d5e11196a28eeebb8a37c347b272b4b84e25bbb8c3a37d607a6b27 |
Close
Hashes for cdk_lambda_layer_curl-2.0.829-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8ba213e51b2f7d13cc5f4565c47352ff42bc81f83e59cd8e13ee44900b6349f |
|
MD5 | a4162a1384bcdfde174a06e307d2227b |
|
BLAKE2b-256 | 9b08739b1c5a4d3dc82ace3ed179026d8a17f91acc71524dd5edd580e8627e23 |