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.651.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8961e84b10ab63127e5980fabe3924a9537d09670fc21221b8a0a14ffce4581 |
|
MD5 | 3be7708040949830170945292265ffc6 |
|
BLAKE2b-256 | 24c8e9834c1b15e44da503048d32fd3afa579ecae2fe3c7ce7d81ce65e433d8c |
Close
Hashes for cdk_lambda_layer_curl-1.0.651-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad76f4a164fdb41f8b75828eeae7ee9f34e1aefe36702bacfbda3d618f039204 |
|
MD5 | 07305c393ba5dddc0a5059ea539735ee |
|
BLAKE2b-256 | d8cce95d2d7e7a5dd4633e64d4daac34893079e1b2083801a43c759478475dfd |