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-2.0.559.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba977375fbe4f6871b98a864a1bb30f8def0f81190f55cba20de0fcfd3ac4483 |
|
MD5 | 6f10a290f7a5847d4ea65118437fc5da |
|
BLAKE2b-256 | 05e2baf684dc77c08a833e55773291210b95b90876aaedb6697398bef2ee0214 |
Close
Hashes for cdk_lambda_layer_curl-2.0.559-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 270cd74afb0c944fcab6a1a5e20b31ad951f1a9007bf0cf7db7c662925b54437 |
|
MD5 | b857ce49bccd101da07203a0848ba8d6 |
|
BLAKE2b-256 | f19c4951d734ffb5fa1dc3dc3fab1caa81a5762278d9805df3d2c229ff9f08f9 |