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.784.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddad7eccffd6a7a48750f8c48d7e8f630c494aa74ff44a222ae893e9653377a2 |
|
MD5 | 01c02a4c76b4326662d137cbd6f9b264 |
|
BLAKE2b-256 | 1d2f721a1186a6f403ae1dc4f686d481b2f2e26b35ae55a0b3973e42794779e1 |
Close
Hashes for cdk_lambda_layer_curl-1.0.784-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b228892513a6abdc73047c07c4ccddcf40074b2d879e54ba5ccbb0113e33c433 |
|
MD5 | adbab77516d47af11ae7f5f6ed7fca03 |
|
BLAKE2b-256 | 50b2f18bc3f792d919ca7960f5bdf652e0b1450d316a8afc1ab209e3a0a8b880 |