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.571.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdfb677d14fcf5be23efefbb0db97a67344a67c5fbc0cde656833c6cf47dd571 |
|
MD5 | fd3f3571de05a319838d3a3662c8d97c |
|
BLAKE2b-256 | 00c4c80c2a258b167500b16c8daf0394c92f19545b8ed5284c873f7e55672308 |
Close
Hashes for cdk_lambda_layer_curl-1.0.571-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd35e54b7584c52ae23002bdb059523ea4adbd58e86d4863ac61f58edd508eac |
|
MD5 | 7e6ef425bd4407be3b1a0ebf0a1aa9a8 |
|
BLAKE2b-256 | 75291dd0fe2f47fd0a061e88237a05ba58599684669fa4406a37d5c53d2a2621 |