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.747.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d12808d1f3ec3c83ba7c15e0d808c307f5410ea5ccbe4563af697c4a0e75cab |
|
MD5 | 67b4798e3a4c1d44c0800530ad4b75a0 |
|
BLAKE2b-256 | 6f42ce2beb23c9a680e4b091db586486e5749b2a249433b70298204655c90c69 |
Close
Hashes for cdk_lambda_layer_curl-2.0.747-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 420a2c0e380a0298296134b8f8628ee4bb47c49ff12fb333935ea85063d1c192 |
|
MD5 | 81891fc87d673088c9a3bc685338d152 |
|
BLAKE2b-256 | d17fb7258aa9bde7375bd9f557d48071e5b7ad33c0495d88e1b343eb154173ef |