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.49.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d03fa9660d1c598956c09252f29ead85e9ca1a62d33a385aa92b6877b917484 |
|
MD5 | 0f428aaaef4786199f43b6322d73b39a |
|
BLAKE2b-256 | 885d054044b0e1120eff36dda701a775484584a0c93d313fbb4ef41f205da057 |
Close
Hashes for cdk_lambda_layer_curl-1.0.49-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3673101ab5312d2ea97b1ea3dbab0c29f7e1439e7499e451a1ef42b3c514e631 |
|
MD5 | 65154d6eb7e2a85700814b59571baa2a |
|
BLAKE2b-256 | ac5acde9370e8c70602fa14c2ff6e43aedc6c6cfaebc99f7b8df29674095e9ea |