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.106.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e1f3117cee068c8dc91ac2b5739eaf6984c4c897a1b37f79b75ce6016d6e20a |
|
MD5 | aff0846751bf6b418228915d41b15171 |
|
BLAKE2b-256 | 18ef9eb1899d2110b2b84071435f5a9578f8226212abfff1f1b6755417c2b978 |
Close
Hashes for cdk_lambda_layer_curl-2.0.106-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2c3e9655ce0cfdcd0651fe512e97e1bce09513c90ca4f466c24ae277166d02e |
|
MD5 | 93dafc0a23e31dc5e37822234d1011f6 |
|
BLAKE2b-256 | 45f21092459d715d01557fe4797c88155159e2b40668f8c41eea1f60d69788fe |