For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f8744b4e7f605e7a9c0b6b31cb72b228290a5d3b3c02634088e330598f7888a |
|
MD5 | 3e8d445c660254d6c22542d4a6abe7e4 |
|
BLAKE2b-256 | ce06f5a8701516da1e2276f06cc7180dc43b3da9c9df9d9d91d049a7d521fd61 |
Close
Hashes for cdk_lambda_layer_curl-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f3f04bb37e887804479cf0a323e69fd87de59fd2b839d794c9ab84012b87bfa |
|
MD5 | 769aebc1b8375409664eaa5f951e8cf3 |
|
BLAKE2b-256 | 9a7b321b61e3a1760a648dda7dd7288b61f0146bfce5fd8a7600508cb9a3b386 |