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.328.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8902972346e69b39972cc0dab792b740901a69d97d5d46afe4aa34421665bda |
|
MD5 | 973c41d5865d5fbf26e59157cc2ee0bd |
|
BLAKE2b-256 | 099f4b5d78420c8c3fe3b7b29dc8130b9355cd2ae1e84e2ca9c133f791088a2a |
Close
Hashes for cdk_lambda_layer_curl-1.0.328-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0bbf6b81743d55bbf71da8047eca3fa97a93bdecb6b9e506fe5d7c5aa9382e3 |
|
MD5 | 42edd82cacd488e35b2904861c95e7ae |
|
BLAKE2b-256 | 82c1c822a06488f5ad01d55c8056861b6db304196b9ca580e4bc506c69f5a3d3 |